From: Borislav Petkov Date: Mon, 12 Oct 2015 09:22:42 +0000 (+0200) Subject: x86/microcode/amd: Do not overwrite final patch levels X-Git-Tag: v3.2.81~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d07d5b07fc9d981702944be85f3b75224d12b5c;p=pandora-kernel.git x86/microcode/amd: Do not overwrite final patch levels commit 0399f73299f1b7e04de329050f7111b362b7eeb5 upstream. 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 Signed-off-by: Borislav Petkov Cc: Borislav Petkov Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Tony Luck Link: http://lkml.kernel.org/r/1444641762-9437-7-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar Signed-off-by: Ben Hutchings Cc: Henrique de Moraes Holschuh --- Reading git-diff-tree failed