All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen: prettify mce output
@ 2009-07-21 14:56 Christoph Egger
  0 siblings, 0 replies; only message in thread
From: Christoph Egger @ 2009-07-21 14:56 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]


Hi!

Attached patch prettifies Xen's mce output.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>

-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

[-- Attachment #2: xen_mce.diff --]
[-- Type: text/x-diff, Size: 979 bytes --]

diff -r 534d3716bbbe xen/arch/x86/cpu/mcheck/mce.c
--- a/xen/arch/x86/cpu/mcheck/mce.c	Tue Jul 21 12:06:52 2009 +0100
+++ b/xen/arch/x86/cpu/mcheck/mce.c	Tue Jul 21 16:56:07 2009 +0200
@@ -798,7 +798,7 @@ int mce_wrmsr(u32 msr, u64 value)
     case MSR_IA32_MCG_CTL:
         if ( value && (value + 1) )
         {
-            gdprintk(XENLOG_WARNING, "MCE: value written to MCG_CTL"
+            gdprintk(XENLOG_WARNING, "MCE: value written to MCG_CTL "
                      "should be all 0s or 1s\n");
             ret = -1;
             break;
@@ -847,7 +847,7 @@ int mce_wrmsr(u32 msr, u64 value)
         case MSR_IA32_MC0_CTL:
             if ( value && (value + 1) )
             {
-                gdprintk(XENLOG_WARNING, "MCE: value written to MC%u_CTL"
+                gdprintk(XENLOG_WARNING, "MCE: value written to MC%u_CTL "
                          "should be all 0s or 1s (is %"PRIx64")\n",
                          bank, value);
                 ret = -1;

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-21 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-21 14:56 [PATCH] xen: prettify mce output Christoph Egger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.