public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] AMD64: fix mce_cpu_quirks typos
@ 2006-02-01 19:14 Florian Weimer
  2006-02-01 19:44 ` Dave Jones
  0 siblings, 1 reply; 7+ messages in thread
From: Florian Weimer @ 2006-02-01 19:14 UTC (permalink / raw)
  To: linux-kernel

The spurious MCE is TLB-related.  I *think* the bit for the correct
status code is stored at position 10 HEX, not 10 DEC.  At least I
still get those MCEs on a two-way Opteron box, even though they are
supposed to be filtered out.

Signed-off-by: Florian Weimer <fw@deneb.enyo.de>

---

 arch/x86_64/kernel/mce.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

102dfead12550ecaf7363a8ca7269ac0f1241bac
diff --git a/arch/x86_64/kernel/mce.c b/arch/x86_64/kernel/mce.c
index 13a2ead..975d128 100644
--- a/arch/x86_64/kernel/mce.c
+++ b/arch/x86_64/kernel/mce.c
@@ -350,9 +350,9 @@ static void __cpuinit mce_cpu_quirks(str
 { 
 	/* This should be disabled by the BIOS, but isn't always */
 	if (c->x86_vendor == X86_VENDOR_AMD && c->x86 == 15) {
-		/* disable GART TBL walk error reporting, which trips off 
+		/* disable GART TLB walk error reporting, which trips off
 		   incorrectly with the IOMMU & 3ware & Cerberus. */
-		clear_bit(10, &bank[4]);
+		clear_bit(0x10, &bank[4]);
 		/* Lots of broken BIOS around that don't clear them
 		   by default and leave crap in there. Don't log. */
 		mce_bootlog = 0;
-- 
1.1.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread
[parent not found: <87fyn2yjpr.fsf@mid.deneb.enyo.de.suse.lists.linux.kernel>]

end of thread, other threads:[~2006-02-02 12:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-01 19:14 [PATCH] AMD64: fix mce_cpu_quirks typos Florian Weimer
2006-02-01 19:44 ` Dave Jones
2006-02-01 19:49   ` Florian Weimer
     [not found] <87fyn2yjpr.fsf@mid.deneb.enyo.de.suse.lists.linux.kernel>
2006-02-01 19:59 ` Andi Kleen
2006-02-01 20:21   ` Florian Weimer
2006-02-01 20:43     ` Andi Kleen
2006-02-02 12:59       ` Florian Weimer

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