linux/arch/x86/kernel/cpu/mce
Gabriele Paoloni 3a866b16fd x86/mce: Panic for LMCE only if mca_cfg.tolerant < 3
Right now for LMCE, if no_way_out is set, mce_panic() is called
regardless of mca_cfg.tolerant. This is not correct as, if
mca_cfg.tolerant = 3, the code should never panic.

Add that check.

 [ bp: use local ptr 'cfg'. ]

Signed-off-by: Gabriele Paoloni <gabriele.paoloni@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20201127161819.3106432-4-gabriele.paoloni@intel.com
2020-12-01 18:49:29 +01:00
..
amd.c x86/MCE/AMD, EDAC/mce_amd: Remove struct smca_hwid.xec_bitmap 2020-08-20 10:34:38 +02:00
apei.c x86/mce, cper: Pass x86 CPER through the MCA handling chain 2020-11-21 12:05:41 +01:00
core.c x86/mce: Panic for LMCE only if mca_cfg.tolerant < 3 2020-12-01 18:49:29 +01:00
dev-mcelog.c x86/mce/dev-mcelog: Do not update kflags on AMD systems 2020-09-15 10:04:51 +02:00
genpool.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 437 2019-06-05 17:37:17 +02:00
inject.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
intel.c x86/mce: Use "safe" MSR functions when enabling additional error logging 2020-11-16 17:34:08 +01:00
internal.h x86/mce: Pass pointer to saved pt_regs to severity calculation routines 2020-10-07 10:51:42 +02:00
Makefile
p5.c x86/mce: Address objtools noinstr complaints 2020-06-11 15:15:02 +02:00
severity.c x86/mce: Decode a kernel instruction to determine if it is copying from user 2020-10-07 11:32:40 +02:00
therm_throt.c x86/entry: Convert various system vectors 2020-06-11 15:15:14 +02:00
threshold.c x86/entry: Convert various system vectors 2020-06-11 15:15:14 +02:00
winchip.c x86/mce: Address objtools noinstr complaints 2020-06-11 15:15:02 +02:00