public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86_64 MCE handling
@ 2004-04-05  9:00 Marc Bevand
  0 siblings, 0 replies; only message in thread
From: Marc Bevand @ 2004-04-05  9:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andi Kleen

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

The attached patch fixes some x86_64 Machine Check Exceptions handling code.
It should apply cleanly to 2.6.5-rc3 or later.

-- 
Marc Bevand

[-- Attachment #2: mce.patch --]
[-- Type: text/x-patch, Size: 656 bytes --]

--- linux-2.6.5-rc3-libata2-speed/arch/x86_64/kernel/mce.c.orig	2004-04-04 23:13:09.263001424 +0200
+++ linux-2.6.5-rc3-libata2-speed/arch/x86_64/kernel/mce.c	2004-04-04 23:23:47.269600248 +0200
@@ -85,7 +85,7 @@
 	if (m->addr)
 		printk("ADDR %Lx ", m->addr);
 	if (m->misc)
-		printk("MISC %Lx ", m->addr); 	
+		printk("MISC %Lx ", m->misc); 	
 	printk("\n");
 }
 
@@ -160,7 +160,7 @@
 		if (m.status & MCI_STATUS_MISCV)
 			rdmsrl(MSR_IA32_MC0_MISC + i*4, m.misc);
 		if (m.status & MCI_STATUS_ADDRV)
-			rdmsrl(MSR_IA32_MC0_MISC + i*4, m.addr);
+			rdmsrl(MSR_IA32_MC0_ADDR + i*4, m.addr);
 
 		rdtscll(m.tsc);
 		wrmsrl(MSR_IA32_MC0_STATUS + i*4, 0);

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

only message in thread, other threads:[~2004-04-05  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-05  9:00 [PATCH] x86_64 MCE handling Marc Bevand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox