android_kernel_samsung_a7y1.../arch/x86/kernel/cpu/microcode
Filippo Sironi 63107093cc x86/microcode: Update the new microcode revision unconditionally
commit 8da38ebaad23fe1b0c4a205438676f6356607cfc upstream.

Handle the case where microcode gets loaded on the BSP's hyperthread
sibling first and the boot_cpu_data's microcode revision doesn't get
updated because of early exit due to the siblings sharing a microcode
engine.

For that, simply write the updated revision on all CPUs unconditionally.

Signed-off-by: Filippo Sironi <sironi@amazon.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: prarit@redhat.com
Link: http://lkml.kernel.org/r/1533050970-14385-1-git-send-email-sironi@amazon.de
[bwh: Backported to 4.4:
 - Keep returning 0 on success
 - 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:25 +02:00
..
amd.c x86/microcode: Update the new microcode revision unconditionally 2020-04-06 16:50:25 +02:00
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: Update the new microcode revision unconditionally 2020-04-06 16:50:25 +02:00
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30