From: Andi Kleen <ak@suse.de>
To: Zwane Mwaikambo <zwane@linuxpower.ca>
Cc: Andi Kleen <ak@suse.de>,
Linux Kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>, Dave Jones <davej@redhat.com>,
Alan Cox <alan@redhat.com>
Subject: Re: [PATCH] lockless MCE i386 port
Date: Sun, 14 Nov 2004 09:51:47 +0100 [thread overview]
Message-ID: <20041114085147.GD16795@wotan.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.61.0411130627050.3062@musoma.fsmlabs.com>
On Sat, Nov 13, 2004 at 11:36:42AM -0700, Zwane Mwaikambo wrote:
> On Fri, 12 Nov 2004, Zwane Mwaikambo wrote:
>
> > Andi fixed the locking issues with respect to printk and MCEs on x86_64,
> > this is a port of said code with a few small changes due to i386 currently
> > supporting the extended MCE MSRs on intel processors (also present on
> > intel x86_64). The addition of hooks allows for the Pentium and P4 MCE
> > drivers to print additional/extended information. I've also converted the
> > P4 thermal monitor driver to avoid printing from interrupt context.
> >
> > Tested on P4 and K7
> >
> > Signed-off-by: Zwane Mwaikambo <zwane@fsmlabs.com>
> >
> > arch/i386/kernel/cpu/mcheck/k7.c | 68 ++++++++++-----
> > arch/i386/kernel/cpu/mcheck/mce.c | 109 ++++++++++++++++++++++++-
> > arch/i386/kernel/cpu/mcheck/mce.h | 53 ++++++++++++
> > arch/i386/kernel/cpu/mcheck/p4.c | 165 ++++++++++++++++++++++++++------------
> > arch/i386/kernel/cpu/mcheck/p5.c | 27 ++++--
> > arch/i386/kernel/cpu/mcheck/p6.c | 66 +++++++++------
> > 6 files changed, 382 insertions(+), 106 deletions(-)
>
> I flipped the printk output for the m.addrl/m.addrh, here is the patch
> rediffed.
Looks good from a first look.
One issue is that you will need people to run the mcelog cron job
and create /dev/mcelog, otherwise they won't see any non fatal
warnings anymore.
I'm actually considering to add a tasklet/bit on x86-64 to printk
a one line warning when any events are in the log. Perhaps that
would be a good idea here too to make the migration smoother.
-Andi
next prev parent reply other threads:[~2004-11-14 8:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-12 16:37 Zwane Mwaikambo
2004-11-13 18:36 ` Zwane Mwaikambo
2004-11-14 8:51 ` Andi Kleen [this message]
2004-11-15 1:10 ` Zwane Mwaikambo
2004-11-14 8:54 ` Andi Kleen
2004-11-15 1:40 ` Zwane Mwaikambo
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=20041114085147.GD16795@wotan.suse.de \
--to=ak@suse.de \
--cc=akpm@osdl.org \
--cc=alan@redhat.com \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zwane@linuxpower.ca \
/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
all inboxes | Powered by JetHome®