From: Marc Bevand <bevand_m@epita.fr>
To: linux-kernel@vger.kernel.org
Cc: Andi Kleen <ak@suse.de>
Subject: [PATCH] x86_64 MCE handling
Date: Mon, 05 Apr 2004 11:00:34 +0200 [thread overview]
Message-ID: <40712032.9070101@epita.fr> (raw)
[-- 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);
reply other threads:[~2004-04-05 9:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40712032.9070101@epita.fr \
--to=bevand_m@epita.fr \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox