From: Ingo Molnar <mingo@elte.hu>
To: Borislav Petkov <bp@amd64.org>
Cc: "Chumbalkar, Nagananda" <Nagananda.Chumbalkar@hp.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Prarit Bhargava <prarit@redhat.com>,
Tony Luck <tony.luck@intel.com>, Russ Anderson <rja@sgi.com>,
LKML <linux-kernel@vger.kernel.org>,
EDAC devel <linux-edac@vger.kernel.org>
Subject: Re: [PATCH 1/2] x86, MCE: Do not taint when handling correctable errors
Date: Thu, 21 Apr 2011 11:58:48 +0200 [thread overview]
Message-ID: <20110421095848.GA14889@elte.hu> (raw)
In-Reply-To: <20110421095114.GB10263@aftab>
* Borislav Petkov <bp@amd64.org> wrote:
> On Thu, Apr 21, 2011 at 05:35:54AM -0400, Ingo Molnar wrote:
> >
> > * Chumbalkar, Nagananda <Nagananda.Chumbalkar@hp.com> wrote:
> >
> > > Would it be okay to extend this reasoning and also remove the tainting
> > > caused by TM1/TM2 thermal events:
> > >
> > > diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c
> > > b/arch/x86/kernel/cpu/mcheck/therm_throt.c
> > > index 6f8c5e9..9f3b5ae 100644
> > > --- a/arch/x86/kernel/cpu/mcheck/therm_throt.c
> > > +++ b/arch/x86/kernel/cpu/mcheck/therm_throt.c
> > > @@ -188,7 +188,6 @@ static int therm_throt_process(bool new_event, int event,
> > > int level)
> > > level == CORE_LEVEL ? "Core" : "Package",
> > > state->count);
> > >
> > > - add_taint(TAINT_MACHINE_CHECK);
> > > return 1;
> > > }
> > > if (old_event) {
> > > @@ -393,7 +392,6 @@ static void unexpected_thermal_interrupt(void)
> > > {
> > > printk(KERN_ERR "CPU%d: Unexpected LVT thermal interrupt!\n",
> > > smp_processor_id());
> > > - add_taint(TAINT_MACHINE_CHECK);
> > > }
> >
> > Mind sending a proper patch, with changelog, signoff, acks, etc?
>
> No need since this is part of 7b70bd3441437b7bc04fc9d321e17c8ed0e8f958
> now which is in tip/x86/mce.
Ok, indeed. Also, in the future, if you take patches from others please also
credit them in the changelog. Something like this would have been good in the
current case:
Also, this patch includes a change from Nagananda Chumbalkar as well, which
drops tainting in the therma throttling code for a similar reason: crossing a
thermal threshold does not mean corruption.
Nagananda's Acked-by is there so there's at least partial credit - but we
generally try to aim for at least 100% credit where credit is due :-)
Thanks,
Ingo
next prev parent reply other threads:[~2011-04-21 9:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-15 8:45 [PATCH 1/2] x86, MCE: Do not taint when handling correctable errors Borislav Petkov
2011-04-15 17:05 ` Chumbalkar, Nagananda
2011-04-15 17:55 ` Luck, Tony
2011-04-21 9:35 ` Ingo Molnar
2011-04-21 9:51 ` Borislav Petkov
2011-04-21 9:58 ` Ingo Molnar [this message]
2011-04-21 10:06 ` Borislav Petkov
2011-04-21 10:20 ` Borislav Petkov
2011-04-21 11:21 ` 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=20110421095848.GA14889@elte.hu \
--to=mingo@elte.hu \
--cc=Nagananda.Chumbalkar@hp.com \
--cc=bp@amd64.org \
--cc=hpa@zytor.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=prarit@redhat.com \
--cc=rja@sgi.com \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.