Re: [PATCH] PM/reboot: call syscore_shutdown() after disable_nonboot_cpus()

2013-04-08 Thread chenhc
> On Monday, April 08, 2013 10:51:45 AM che...@lemote.com wrote: >> > On Sunday, April 07, 2013 08:29:32 AM Greg KH wrote: >> >> On Sun, Apr 07, 2013 at 10:46:00AM +0200, Rafael J. Wysocki wrote: >> >> > On Sunday, April 07, 2013 10:14:14 AM Huacai Chen wrote: >> >> > > As commit 40dc166c (PM / Cor

Re: [PATCH] PM/reboot: call syscore_shutdown() after disable_nonboot_cpus()

2013-04-08 Thread Rafael J. Wysocki
On Monday, April 08, 2013 10:51:45 AM che...@lemote.com wrote: > > On Sunday, April 07, 2013 08:29:32 AM Greg KH wrote: > >> On Sun, Apr 07, 2013 at 10:46:00AM +0200, Rafael J. Wysocki wrote: > >> > On Sunday, April 07, 2013 10:14:14 AM Huacai Chen wrote: > >> > > As commit 40dc166c (PM / Core: Int

Re: [PATCH] PM/reboot: call syscore_shutdown() after disable_nonboot_cpus()

2013-04-07 Thread chenhc
> On Sunday, April 07, 2013 08:29:32 AM Greg KH wrote: >> On Sun, Apr 07, 2013 at 10:46:00AM +0200, Rafael J. Wysocki wrote: >> > On Sunday, April 07, 2013 10:14:14 AM Huacai Chen wrote: >> > > As commit 40dc166c (PM / Core: Introduce struct syscore_ops for core >> > > subsystems PM) say, syscore_o

Re: [PATCH] PM/reboot: call syscore_shutdown() after disable_nonboot_cpus()

2013-04-07 Thread Rafael J. Wysocki
On Sunday, April 07, 2013 08:29:32 AM Greg KH wrote: > On Sun, Apr 07, 2013 at 10:46:00AM +0200, Rafael J. Wysocki wrote: > > On Sunday, April 07, 2013 10:14:14 AM Huacai Chen wrote: > > > As commit 40dc166c (PM / Core: Introduce struct syscore_ops for core > > > subsystems PM) say, syscore_ops ope

Re: [PATCH] PM/reboot: call syscore_shutdown() after disable_nonboot_cpus()

2013-04-07 Thread Greg KH
On Sun, Apr 07, 2013 at 10:46:00AM +0200, Rafael J. Wysocki wrote: > On Sunday, April 07, 2013 10:14:14 AM Huacai Chen wrote: > > As commit 40dc166c (PM / Core: Introduce struct syscore_ops for core > > subsystems PM) say, syscore_ops operations should be carried with one > > CPU on-line and interr

Re: [PATCH] PM/reboot: call syscore_shutdown() after disable_nonboot_cpus()

2013-04-07 Thread Rafael J. Wysocki
On Sunday, April 07, 2013 10:14:14 AM Huacai Chen wrote: > As commit 40dc166c (PM / Core: Introduce struct syscore_ops for core > subsystems PM) say, syscore_ops operations should be carried with one > CPU on-line and interrupts disabled. However, after commit f96972f2d > (kernel/sys.c: call disabl

[PATCH] PM/reboot: call syscore_shutdown() after disable_nonboot_cpus()

2013-04-06 Thread Huacai Chen
As commit 40dc166c (PM / Core: Introduce struct syscore_ops for core subsystems PM) say, syscore_ops operations should be carried with one CPU on-line and interrupts disabled. However, after commit f96972f2d (kernel/sys.c: call disable_nonboot_cpus() in kernel_restart()), syscore_shutdown() is call