Skip to content

Commit 716079f

Browse files
committed
mce: Panic when a core has reached a timeout
There is very little and maybe practically nothing we can do to recover from a system where at least one core has reached a timeout during the whole monarch cores gathering. So panic when that happens. Link: http://lkml.kernel.org/r/20140523091041.GA21332@pd.tnic Signed-off-by: Borislav Petkov <bp@suse.de>
1 parent 9c15a24 commit 716079f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • arch/x86/kernel/cpu/mcheck

‎arch/x86/kernel/cpu/mcheck/mce.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,7 @@ static int mce_timed_out(u64 *t)
704704
if (!mca_cfg.monarch_timeout)
705705
goto out;
706706
if ((s64)*t < SPINUNIT) {
707-
/* CHECKME: Make panic default for 1 too? */
708-
if (mca_cfg.tolerant < 1)
707+
if (mca_cfg.tolerant <= 1)
709708
mce_panic("Timeout synchronizing machine check over CPUs",
710709
NULL, NULL);
711710
cpu_missing = 1;

0 commit comments

Comments
 (0)