WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86/mca: Fix debug output.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86/mca: Fix debug output.
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sat, 21 May 2011 19:15:08 +0100
Delivery-date: Sat, 21 May 2011 11:15:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86/mca: Fix debug output., Xen patchbot-unstable <=