All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Corey Minyard <cminyard@mvista.com>,
	Borislav Petkov <bp@alien8.de>, Corey Minyard <minyard@acm.org>,
	"Luck, Tony" <tony.luck@intel.com>,
	"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: [PATCH][RT] x86: Fix an RT MCE crash
Date: Mon, 11 Jul 2016 13:32:37 -0400	[thread overview]
Message-ID: <20160711133237.2fe4df5a@gandalf.local.home> (raw)
In-Reply-To: <4eb7ab5c-447e-addc-be99-ce4b4682e4bb@linutronix.de>

On Wed, 6 Jul 2016 15:43:51 +0200
Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote:

> On 07/06/2016 03:32 PM, Steven Rostedt wrote:
> > On Wed, 6 Jul 2016 07:03:43 -0500
> > Corey Minyard <cminyard@mvista.com> wrote:
> >   
> >>> ---
> >>> diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c
> >>> index aaf4b9b94f38..cc70d98a30f6 100644
> >>> --- a/arch/x86/kernel/cpu/mcheck/mce.c
> >>> +++ b/arch/x86/kernel/cpu/mcheck/mce.c
> >>> @@ -1391,7 +1391,8 @@ static int mce_notify_work_init(void)
> >>>   
> >>>   static void mce_notify_work(void)
> >>>   {
> >>> -	wake_up_process(mce_notify_helper);
> >>> +	if (mce_notify_helper)
> >>> +		wake_up_process(mce_notify_helper);
> >>>   }  
> > 
> > Actually, this appears to be the fix in 4.6-rt.  
> 
> This is in there since it was switched to swork instead of using its
> own thread and is also in v4.1:
> 
> https://git.kernel.org/cgit/linux/kernel/git/rt/linux-rt-devel.git/tree/arch/x86/kernel/cpu/mcheck/mce.c?h=linux-4.1.y-rt#n1387
> 
> as part of x86-mce-use-swait-queue-for-mce-wakeups.patch. And this
> patch was first part of v3.18.9-rt4 as a new patch dropping x86-mce-
> Defer-mce-wakeups-to-threads-for-PREEMPT_RT.patch.
> 

I'm doing backports now. I'm currently on 4.1, but trying to move
quickly.

Corey, what commits did you backport (plus the one Boris showed)? And
does that fix your issue?

-- Steve

  reply	other threads:[~2016-07-11 17:32 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-30 13:24 [PATCH][RT] x86: Fix an RT MCE crash minyard
2016-06-30 13:43 ` Steven Rostedt
2016-06-30 14:49   ` Corey Minyard
2016-06-30 15:51     ` Steven Rostedt
2016-06-30 15:58       ` Corey Minyard
2016-06-30 16:01       ` Borislav Petkov
2016-06-30 16:17         ` Luck, Tony
2016-06-30 16:40           ` Corey Minyard
2016-06-30 17:01             ` Borislav Petkov
2016-06-30 17:18               ` Corey Minyard
2016-06-30 17:26                 ` Borislav Petkov
2016-06-30 17:54                   ` Corey Minyard
2016-06-30 18:22                     ` Borislav Petkov
2016-06-30 19:44                       ` Corey Minyard
2016-06-30 20:34                         ` Borislav Petkov
2016-06-30 22:47                           ` Corey Minyard
2016-07-01  7:20                             ` Borislav Petkov
2016-07-06  0:59                               ` Corey Minyard
2016-07-06  8:37                                 ` Borislav Petkov
2016-07-06 12:03                                   ` Corey Minyard
2016-07-06 13:32                                     ` Steven Rostedt
2016-07-06 13:43                                       ` Sebastian Andrzej Siewior
2016-07-11 17:32                                         ` Steven Rostedt [this message]
2016-07-01  9:20         ` Daniel Wagner
2016-06-30 16:04       ` Corey Minyard

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=20160711133237.2fe4df5a@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=bigeasy@linutronix.de \
    --cc=bp@alien8.de \
    --cc=cminyard@mvista.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=minyard@acm.org \
    --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.