Re: [stable] [patch 09/12] Fix SMP poweroff hangs

From: Greg KH
Date: Tue Oct 09 2007 - 19:29:55 EST


On Wed, Oct 10, 2007 at 01:21:18AM +0200, Thomas Gleixner wrote:
>
>
> On Tue, 9 Oct 2007, Greg KH wrote:
>
> > On Tue, Oct 09, 2007 at 10:17:02AM -0500, Olof Johansson wrote:
> > > On Mon, Oct 08, 2007 at 11:06:33AM -0700, Greg KH wrote:
> > > > From: Mark Lord <lkml@xxxxxx>
> > > >
> > > > commit 4047727e5ae33f9b8d2b7766d1994ea6e5ec2991 from upstream
> > > >
> > > > We need to disable all CPUs other than the boot CPU (usually 0) before
> > > > attempting to power-off modern SMP machines. This fixes the
> > > > hang-on-poweroff issue on my MythTV SMP box, and also on Thomas Gleixner's
> > > > new toybox.
> > >
> > > Paul Mackerras has reported crashes when rebooting some older ppc64
> > > systems due to this patch.
> > >
> > > See http://ozlabs.org/pipermail/linuxppc-dev/2007-October/043969.html.
> >
> > Has anything been done in mainline to possibly fix this?
> >
> > If not, I think we'll leave it in, as it does solve a number of reported
> > problems.
>
> Wrapping it into a #ifdef CONFIG_X86 would be sufficient.

Ok, get that patch into Linus's tree and then I'll add it to -stable :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/