linux-stable/arch/x86/kernel/cpu/microcode
Borislav Petkov 0399f73299 x86/microcode/amd: Do not overwrite final patch levels
A certain number of patch levels of applied microcode should not
be overwritten by the microcode loader, otherwise bad things
will happen.

Check those and abort update if the current core has one of
those final patch levels applied by the BIOS. 32-bit needs
special handling, of course.

See https://bugzilla.suse.com/show_bug.cgi?id=913996 for more
info.

Tested-by: Peter Kirchgeßner <pkirchgessner@t-online.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/1444641762-9437-7-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-10-12 16:15:48 +02:00
..
amd.c x86/microcode/amd: Do not overwrite final patch levels 2015-10-12 16:15:48 +02:00
amd_early.c x86/microcode/amd: Do not overwrite final patch levels 2015-10-12 16:15:48 +02:00
core.c Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-01 09:33:26 -07:00
core_early.c x86/microcode: Correct CPU family related variable types 2015-06-07 15:38:15 +02:00
intel.c x86/microcode/intel: Rename get_matching_microcode 2015-05-18 09:32:36 +02:00
intel_early.c x86: Drop bogus __ref / __refdata annotations 2015-07-20 18:57:20 +02:00
intel_lib.c x86/microcode/intel: Rename get_matching_sig() 2015-05-18 09:32:37 +02:00
Makefile