[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/mca: Fix debug output.
# HG changeset patch # User Liu, Jinsong <jinsong.liu@xxxxxxxxx> # Date 1305895343 -3600 # Node ID c2a55fe9c006beb340a422af18467fc5c36fac94 # Parent 5fb4c607049dccbee875f91e23de685d4e718b00 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@xxxxxxxxx> --- diff -r 5fb4c607049d -r c2a55fe9c006 xen/arch/x86/cpu/mcheck/mce.c --- a/xen/arch/x86/cpu/mcheck/mce.c Fri May 20 09:44:41 2011 +0100 +++ b/xen/arch/x86/cpu/mcheck/mce.c Fri May 20 13:42:23 2011 +0100 @@ -940,10 +940,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@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |