exynos-linux-stable/arch/x86/kernel/cpu/microcode
Filippo Sironi e160f1dea9 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.9:
 - 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>
2019-05-14 19:19:33 +02:00
..
amd.c x86/microcode: Update the new microcode revision unconditionally 2019-05-14 19:19:33 +02:00
core.c x86/microcode: Allow late microcode loading with SMT disabled 2018-08-15 18:14:55 +02:00
intel.c x86/microcode: Update the new microcode revision unconditionally 2019-05-14 19:19:33 +02:00
intel_lib.c x86/microcode: Remove unused symbol exports 2016-07-08 11:30:58 +02:00
Makefile x86/microcode: Merge the early microcode loader 2015-10-21 11:22:12 +02:00