android_kernel_samsung_a7y1.../arch
Prarit Bhargava 4095b43ef5 x86/microcode: Make sure boot_cpu_data.microcode is up-to-date
commit 370a132bb2227ff76278f98370e0e701d86ff752 upstream.

When preparing an MCE record for logging, boot_cpu_data.microcode is used
to read out the microcode revision on the box.

However, on systems where late microcode update has happened, the microcode
revision output in a MCE log record is wrong because
boot_cpu_data.microcode is not updated when the microcode gets updated.

But, the microcode revision saved in boot_cpu_data's microcode member
should be kept up-to-date, regardless, for consistency.

Make it so.

Fixes: fa94d0c6e0f3 ("x86/MCE: Save microcode revision in machine check records")
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: sironi@amazon.de
Link: http://lkml.kernel.org/r/20180731112739.32338-1-prarit@redhat.com
[bwh: Backported to 4.4: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 16:50:23 +02:00
..
alpha A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
arc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
arm ARM: iop: don't use using 64-bit DMA masks 2020-04-06 16:42:32 +02:00
arm64 Merge branch 'master' of https://github.com/prashantpaddune/android_device_samsung_a7y18lte 2020-04-06 19:42:12 +05:30
avr32 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blackfin A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
c6x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cris A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
frv A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
h8300 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux- 2020-04-06 14:21:05 +02:00
hexagon A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ia64 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
m32r A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
m68k A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
metag A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
microblaze A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mips MIPS: scall64-o32: Fix indirect syscall number load 2020-04-06 16:38:39 +02:00
mn10300 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nios2 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
openrisc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
parisc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
powerpc powerpc/fsl: Fixed warning: orphan section `__btb_flush_fixup' 2020-04-06 16:41:01 +02:00
s390 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
score A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sh A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sparc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
um A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unicore32 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
x86 x86/microcode: Make sure boot_cpu_data.microcode is up-to-date 2020-04-06 16:50:23 +02:00
xtensa xtensa: fix return_address 2020-04-06 15:16:44 +02:00
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30