Re: [PATCH] disable non-boot CPUs before poweroff

2007-09-28 Thread Thomas Gleixner
On Fri, 2007-09-28 at 17:05 +0200, Rafael J. Wysocki wrote: > > if (pm_power_off_prepare) > > pm_power_off_prepare(); > > sysdev_shutdown(); > > + disable_nonboot_cpus(); > > Before sysdev_shutdown(), please. > > sysdev_shutdown() may touch things that belong to CPU0. Damn,

Re: [PATCH] disable non-boot CPUs before poweroff

2007-09-28 Thread Thomas Gleixner
On Fri, 2007-09-28 at 09:52 -0400, Mark Lord wrote: > We need to disable all CPUs other than the boot CPU (usually 0) > before attempting to power-off modern SMP machines. > This seems to fix the hang-on-poweroff issue > that one of my SMP boxes exhibits. More testing required. > > Signed-off-by

Re: [PATCH] disable non-boot CPUs before poweroff

2007-09-28 Thread Rafael J. Wysocki
On Friday, 28 September 2007 15:52, Mark Lord wrote: > > We need to disable all CPUs other than the boot CPU (usually 0) > before attempting to power-off modern SMP machines. > This seems to fix the hang-on-poweroff issue > that one of my SMP boxes exhibits. More testing required. > > Signed-off

Re: [PATCH] disable non-boot CPUs before poweroff

2007-09-28 Thread Mark Lord
Mark Lord wrote: We need to disable all CPUs other than the boot CPU (usually 0) before attempting to power-off modern SMP machines. This seems to fix the hang-on-poweroff issue that one of my SMP boxes exhibits. More testing required. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- linu