]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode/intel: Extend BDW late-loading with a revision check
authorJia Zhang <qianyue.zj@alibaba-inc.com>
Mon, 1 Jan 2018 02:04:47 +0000 (10:04 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 6 Jan 2018 13:44:57 +0000 (14:44 +0100)
commitbe27aad004b82c2e042b1a0bbcf11d8ad989e3ea
treec24dcd5326ccd696e2aa335efa91c80627aff120
parent03330106f84730f8407ab5022d071022ab5aea08
x86/microcode/intel: Extend BDW late-loading with a revision check

Instead of blacklisting all model 79 CPUs when attempting a late
microcode loading, limit that only to CPUs with microcode revisions <
0x0b000021 because only on those late loading may cause a system hang.

For such processors either:

a) a BIOS update which might contain a newer microcode revision

or

b) the early microcode loading method

should be considered.

Processors with revisions 0x0b000021 or higher will not experience such
hangs.

For more details, see erratum BDF90 in document #334165 (Intel Xeon
Processor E7-8800/4800 v4 Product Family Specification Update) from
September 2017.

[ bp: Heavily massage commit message and pr_* statements. ]

Fixes: f68df7e9f8eb ("x86/microcode/intel: Disable late loading on model 79")
Signed-off-by: Jia Zhang <qianyue.zj@alibaba-inc.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: x86-ml <x86@kernel.org>
Cc: <stable@vger.kernel.org> # v4.14
Link: http://lkml.kernel.org/r/1514772287-92959-1-git-send-email-qianyue.zj@alibaba-inc.com
arch/x86/kernel/cpu/microcode/intel.c