]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commitb94b7373317164402ff7728d10f7023127a02b60
treec24dcd5326ccd696e2aa335efa91c80627aff120
parent89876f275e8d562912d9c238cd888b52065cf25c
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: 723f2828a98c ("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