[prev in list] [next in list] [prev in thread] [next in thread]
List: xen-cvs
Subject: [Xen-changelog] [xen-4.1-testing] x86/mca: Fix debug output.
From: "Xen patchbot-4.1-testing" <patchbot () xen ! org>
Date: 2011-05-25 23:05:26
Message-ID: E1QPN8o-0003SL-SY () xenbits ! xen ! org
[Download RAW message or body]
# HG changeset patch
# User Liu, Jinsong <jinsong.liu@intel.com>
# Date 1305895833 -3600
# Node ID 3e6df1641fb2801afde9a127a38a318facc43ea2
# Parent cf1089b7d89b2b392c3b065839da7e550d08a7ca
x86/mca: Fix debug output.
At x86_mcinfo_dump(), a little bug at printk information,
illusively= indicate an CMCI/POLLED error to a MCE error, this will
make debug confusing.
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
xen-unstable changeset: 23362:c2a55fe9c006
xen-unstable date: Fri May 20 13:42:23 2011 +0100
---
diff -r cf1089b7d89b -r 3e6df1641fb2 xen/arch/x86/cpu/mcheck/mce.c
--- a/xen/arch/x86/cpu/mcheck/mce.c Fri May 20 13:50:05 2011 +0100
+++ b/xen/arch/x86/cpu/mcheck/mce.c Fri May 20 13:50:33 2011 +0100
@@ -932,10 +932,11 @@
printk(XENLOG_WARNING
"CPU%d: Machine Check Exception: %16"PRIx64"\n",
mc_global->mc_coreid, mc_global->mc_gstatus);
- } else {
- printk(XENLOG_WARNING "MCE: The hardware reports a non "
- "fatal, correctable incident occurred on "
- "CPU %d.\n",
+ } else if (mc_global->mc_flags & MC_FLAG_CMCI) {
+ printk(XENLOG_WARNING "CMCI occurred on CPU %d.\n",
+ mc_global->mc_coreid);
+ } else if (mc_global->mc_flags & MC_FLAG_POLLED) {
+ printk(XENLOG_WARNING "POLLED occurred on CPU %d.\n",
mc_global->mc_coreid);
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic