diff options
author | Gabriele Paoloni <gabriele.paoloni@intel.com> | 2020-11-27 16:18:17 +0000 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-12-01 18:49:29 +0100 |
commit | 3a866b16fd2360a9c4ebf71cfbf7ebfe968c1409 (patch) | |
tree | e9b4169a8a7e1c61166028f74031c274b55ec465 /net/wireless | |
parent | e273e6e12ab1db3eb57712bd60655744d0091fa3 (diff) | |
download | linux-3a866b16fd2360a9c4ebf71cfbf7ebfe968c1409.tar.bz2 |
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
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions