android_kernel_samsung_a7y1.../arch/x86/kernel/cpu/microcode
Borislav Petkov c0a4a30121 x86/microcode/intel: Add a helper which gives the microcode revision
commit 4167709bbf826512a52ebd6aafda2be104adaec9 upstream.

Since on Intel we're required to do CPUID(1) first, before reading
the microcode revision MSR, let's add a special helper which does the
required steps so that we don't forget to do them next time, when we
want to read the microcode revision.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/20170109114147.5082-4-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[bwh: Backported to 4.4:
 - Don't touch prev_rev variable in apply_microcode()
 - Keep using sync_core(), which will alway includes the necessary CPUID
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 16:49:48 +02:00
..
amd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel_lib.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel.c x86/microcode/intel: Add a helper which gives the microcode revision 2020-04-06 16:49:48 +02:00
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30