Re: [PATCH] powerpc/sysfs: disable hotplug for the boot cpu

2013-06-14 Thread Benjamin Herrenschmidt
On Thu, 2013-06-13 at 19:25 +0800, Zhao Chenhui wrote: Some multicore SoCs firstly boot up the cpu0 after warm reset. In some suspend/resume cases, SoC will do a warm reset when resuming. In order to ensure that the suspending and resuming is running on a same cpu, cpu0 should be the last cpu

Re: [PATCH] powerpc/sysfs: disable hotplug for the boot cpu

2013-06-13 Thread Zhao Chenhui
On Wed, Jun 12, 2013 at 01:25:22PM +1000, Benjamin Herrenschmidt wrote: On Mon, 2013-06-03 at 18:43 +0800, Zhao Chenhui wrote: On Sat, Jun 01, 2013 at 07:49:44AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2013-05-28 at 15:59 +0800, Zhao Chenhui wrote: Some features depend on the boot

Re: [PATCH] powerpc/sysfs: disable hotplug for the boot cpu

2013-06-11 Thread Benjamin Herrenschmidt
On Mon, 2013-06-03 at 18:43 +0800, Zhao Chenhui wrote: On Sat, Jun 01, 2013 at 07:49:44AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2013-05-28 at 15:59 +0800, Zhao Chenhui wrote: Some features depend on the boot cpu, for instance, hibernate/suspend. So disable hotplug for the boot cpu.

Re: [PATCH] powerpc/sysfs: disable hotplug for the boot cpu

2013-05-31 Thread Benjamin Herrenschmidt
On Tue, 2013-05-28 at 15:59 +0800, Zhao Chenhui wrote: Some features depend on the boot cpu, for instance, hibernate/suspend. So disable hotplug for the boot cpu. Don't we have code to move the boot CPU around when that happens ? Ben. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com

[PATCH] powerpc/sysfs: disable hotplug for the boot cpu

2013-05-28 Thread Zhao Chenhui
Some features depend on the boot cpu, for instance, hibernate/suspend. So disable hotplug for the boot cpu. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com --- arch/powerpc/kernel/sysfs.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git