Skip to content

Commit e629fc1

Browse files
kernelslackerhansendc
authored andcommitted
x86/mce: Add errata workaround for Skylake SKX37
Errata SKX37 is word-for-word identical to the other errata listed in this workaround. I happened to notice this after investigating a CMCI storm on a Skylake host. While I can't confirm this was the root cause, spurious corrected errors does sound like a likely suspect. Fixes: 2976908 ("x86/mce: Do not log spurious corrected mce errors") Signed-off-by: Dave Jones <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Tony Luck <[email protected]> Cc: <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 43d3b7f commit e629fc1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/x86/kernel/cpu/mce/intel.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,12 +547,13 @@ bool intel_filter_mce(struct mce *m)
547547
{
548548
struct cpuinfo_x86 *c = &boot_cpu_data;
549549

550-
/* MCE errata HSD131, HSM142, HSW131, BDM48, and HSM142 */
550+
/* MCE errata HSD131, HSM142, HSW131, BDM48, HSM142 and SKX37 */
551551
if ((c->x86 == 6) &&
552552
((c->x86_model == INTEL_FAM6_HASWELL) ||
553553
(c->x86_model == INTEL_FAM6_HASWELL_L) ||
554554
(c->x86_model == INTEL_FAM6_BROADWELL) ||
555-
(c->x86_model == INTEL_FAM6_HASWELL_G)) &&
555+
(c->x86_model == INTEL_FAM6_HASWELL_G) ||
556+
(c->x86_model == INTEL_FAM6_SKYLAKE_X)) &&
556557
(m->bank == 0) &&
557558
((m->status & 0xa0000000ffffffff) == 0x80000000000f0005))
558559
return true;

0 commit comments

Comments
 (0)