From: Ingo Molnar <mingo@elte.hu>
To: "Maciej W. Rozycki" <macro@linux-mips.org>,
Borislav Petkov <borislav.petkov@amd.com>
Cc: Greg KH <gregkh@suse.de>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Kurt Garloff <garloff@suse.de>,
linux-kernel@vger.kernel.org, Yinghai Lu <yinghai@kernel.org>,
Jesse Barnes <jbarnes@virtuousgeek.org>
Subject: Re: [PATCH] x86: sysctl to allow panic on IOCK NMI error
Date: Thu, 2 Jul 2009 09:53:05 +0200 [thread overview]
Message-ID: <20090702075305.GC19187@elte.hu> (raw)
In-Reply-To: <alpine.LFD.2.00.0907011816070.18056@eddie.linux-mips.org>
* Maciej W. Rozycki <macro@linux-mips.org> wrote:
> On Wed, 1 Jul 2009, Ingo Molnar wrote:
>
> > > ENOTIME, sorry. Next year perhaps. Or a homework project
> > > for one of the newbies. ;)
> >
> > You know that this project would kill a newbie, right? :)
>
> Well, that's just a fast track to become a veteran, isn't it? ;)
No, that's just a fast track to quickly make it into the list of our
Fallen Heroes :-/ The fast track to become a kernel veteran is to,
if possible, not challenge a tank with a hand-grenade. But i
digress.
> > We have no real southbridge drivers on x86 - but we should
> > certainly add some. Also, walking the PCI device tree from NMI
> > context is tricky as the lists there are not NMI safe - we could
> > crash if we happen to get a #IOCK while loading/unloading
> > drivers (which is rare but could happen).
>
> That shouldn't be a problem if we were about to panic(). For a
> more sophisticated attempt of recovery -- yes, that would have to
> be addressed.
We are only panic-ing if the sysctl is set. The diagnostics would be
useful anyway. The proper approach would be to defer it a bit in the
non-panic case an read it out from some friendlier context - such as
the EDAC core.
Ingo
next prev parent reply other threads:[~2009-07-02 7:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 21:32 [PATCH] x86: sysctl to allow panic on IOCK NMI error Greg KH
2009-06-25 9:16 ` [tip:x86/urgent] x86: Add " tip-bot for Kurt Garloff
2009-06-25 18:15 ` [PATCH] x86: " Eric W. Biederman
2009-06-25 20:07 ` Greg KH
2009-06-25 20:18 ` Ingo Molnar
2009-06-25 20:16 ` Greg KH
2009-06-25 20:06 ` [tip:x86/urgent] x86: Add " tip-bot for Kurt Garloff
2009-06-25 20:09 ` tip-bot for Kurt Garloff
2009-06-30 22:27 ` [PATCH] x86: " Maciej W. Rozycki
2009-06-30 22:30 ` Greg KH
2009-07-01 0:50 ` Maciej W. Rozycki
2009-07-01 11:10 ` Ingo Molnar
2009-07-01 17:30 ` Jesse Barnes
2009-07-01 17:37 ` Maciej W. Rozycki
2009-07-02 7:53 ` Ingo Molnar [this message]
2009-07-02 10:41 ` Borislav Petkov
2009-07-03 7:59 ` Ingo Molnar
2009-07-03 21:35 ` Maciej W. Rozycki
2009-07-03 9:19 ` Kurt Garloff
2009-07-03 9:24 ` Ingo Molnar
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=20090702075305.GC19187@elte.hu \
--to=mingo@elte.hu \
--cc=borislav.petkov@amd.com \
--cc=garloff@suse.de \
--cc=gregkh@suse.de \
--cc=hpa@zytor.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=macro@linux-mips.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=yinghai@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