mcheck_cmn_handler() does not always set 'severity_cpu' to override
its value taken from previous rounds of MC handling, which will
interfere the current round of MC handling. Always re-initialize it to
clear the historical value.
Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit:
6a2c6a68423475cd89a8cc9978554880e5a21b7d
master date: 2017-04-07 15:56:09 +0200
mc_panic(ebuf);
}
atomic_set(&found_error, 0);
+ atomic_set(&severity_cpu, -1);
}
mce_barrier_exit(&mce_trap_bar);