All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] Small fix for telem info dump in Intel CMCI code
@ 2009-03-20  2:16 Ke, Liping
  2009-03-20  2:58 ` Frank van der Linden
  0 siblings, 1 reply; 2+ messages in thread
From: Ke, Liping @ 2009-03-20  2:16 UTC (permalink / raw)
  To: Keir Fraser, Frank van der Linden; +Cc: xen-devel@lists.xensource.com


[-- Attachment #1.1: Type: text/plain, Size: 123 bytes --]

Hi, Keir& Frank.

This is a small fix for telem info dump in Intel CMCI code.

Thanks a lot for your help!

Criping

[-- Attachment #1.2: Type: text/html, Size: 1028 bytes --]

[-- Attachment #2: intel_small_fix.patch --]
[-- Type: application/octet-stream, Size: 1154 bytes --]

diff -r 9fc957e63f8d xen/arch/x86/cpu/mcheck/mce_intel.c
--- a/xen/arch/x86/cpu/mcheck/mce_intel.c	Tue Mar 17 15:40:25 2009 +0000
+++ b/xen/arch/x86/cpu/mcheck/mce_intel.c	Fri Mar 20 10:14:01 2009 +0800
@@ -198,7 +198,6 @@
 {
     unsigned long flags;
     int i;
-    struct mc_info *mi = NULL;
     mctelem_cookie_t mctc;
     struct mca_summary bs;
 
@@ -226,7 +225,7 @@
             mctelem_commit(mctc);
             send_guest_global_virq(dom0, VIRQ_MCA);
         } else {
-            x86_mcinfo_dump(mi);
+            x86_mcinfo_dump(mctelem_dataptr(mctc));
             mctelem_dismiss(mctc);
        }
     } else if (mctc != NULL)
@@ -326,7 +325,6 @@
 
 fastcall void smp_cmci_interrupt(struct cpu_user_regs *regs)
 {
-    struct mc_info *mi = NULL;
     mctelem_cookie_t mctc;
     struct mca_summary bs;
 
@@ -341,9 +339,9 @@
             mctelem_commit(mctc);
             send_guest_global_virq(dom0, VIRQ_MCA);
         } else {
-            x86_mcinfo_dump(mi);
+            x86_mcinfo_dump(mctelem_dataptr(mctc));
             mctelem_dismiss(mctc);
-       }
+        }
     } else if (mctc != NULL)
         mctelem_dismiss(mctc);
 

[-- 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] 2+ messages in thread

* Re: [Patch] Small fix for telem info dump in Intel CMCI code
  2009-03-20  2:16 [Patch] Small fix for telem info dump in Intel CMCI code Ke, Liping
@ 2009-03-20  2:58 ` Frank van der Linden
  0 siblings, 0 replies; 2+ messages in thread
From: Frank van der Linden @ 2009-03-20  2:58 UTC (permalink / raw)
  To: Ke, Liping; +Cc: xen-devel@lists.xensource.com, Keir Fraser

Ke, Liping wrote:
> Hi, Keir& Frank.
>  
> This is a small fix for telem info dump in Intel CMCI code.
>  
> Thanks a lot for your help!
>  
> Criping

Thanks for catching that one! Can you tell that our testsuite has no 
CMCI injection support right now..

- Frank

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-20  2:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-20  2:16 [Patch] Small fix for telem info dump in Intel CMCI code Ke, Liping
2009-03-20  2:58 ` Frank van der Linden

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.