mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
mce: Support machine check logging left over from previous reset.
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
This commit is contained in:
1 parent
3cc1e4c380
commit
341c0e113f
1 file changed
+2
-2
@@ -1029,10 +1029,10 @@ static void mce_init(void)
|
||||
|
||||
mctc = mcheck_mca_logout(MCA_RESET, mca_allbanks, &bs, NULL);
|
||||
|
||||
/* in the boot up stage, don't inject to DOM0, but print out */
|
||||
/* in the boot up stage, print out and also log in DOM0 boot process */
|
||||
if (bs.errcnt && mctc != NULL) {
|
||||
x86_mcinfo_dump(mctelem_dataptr(mctc));
|
||||
mctelem_dismiss(mctc);
|
||||
mctelem_commit(mctc);
|
||||
}
|
||||
|
||||
set_in_cr4(X86_CR4_MCE);
|
||||
|
||||