Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-07-25 Thread Russell King - ARM Linux
On Fri, Jul 17, 2015 at 02:21:05PM -0700, Stephen Boyd wrote: > On 06/10/2015 04:11 PM, Stephen Boyd wrote: > >On 06/10/2015 03:57 PM, Russell King - ARM Linux wrote: > >>diff --git a/arch/arm/mach-shmobile/common.h > >>b/arch/arm/mach-shmobile/common.h > >>index 476092b86c6e..f2c4bf437ea7 100644

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-07-25 Thread Russell King - ARM Linux
On Fri, Jul 17, 2015 at 02:21:05PM -0700, Stephen Boyd wrote: On 06/10/2015 04:11 PM, Stephen Boyd wrote: On 06/10/2015 03:57 PM, Russell King - ARM Linux wrote: diff --git a/arch/arm/mach-shmobile/common.h b/arch/arm/mach-shmobile/common.h index 476092b86c6e..f2c4bf437ea7 100644 ---

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-07-17 Thread Stephen Boyd
On 06/10/2015 04:11 PM, Stephen Boyd wrote: On 06/10/2015 03:57 PM, Russell King - ARM Linux wrote: diff --git a/arch/arm/mach-shmobile/common.h b/arch/arm/mach-shmobile/common.h index 476092b86c6e..f2c4bf437ea7 100644 --- a/arch/arm/mach-shmobile/common.h +++ b/arch/arm/mach-shmobile/common.h

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-07-17 Thread Stephen Boyd
On 06/10/2015 04:11 PM, Stephen Boyd wrote: On 06/10/2015 03:57 PM, Russell King - ARM Linux wrote: diff --git a/arch/arm/mach-shmobile/common.h b/arch/arm/mach-shmobile/common.h index 476092b86c6e..f2c4bf437ea7 100644 --- a/arch/arm/mach-shmobile/common.h +++ b/arch/arm/mach-shmobile/common.h

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-10 Thread Stephen Boyd
On 06/10/2015 03:57 PM, Russell King - ARM Linux wrote: > diff --git a/arch/arm/mach-shmobile/common.h b/arch/arm/mach-shmobile/common.h > index 476092b86c6e..f2c4bf437ea7 100644 > --- a/arch/arm/mach-shmobile/common.h > +++ b/arch/arm/mach-shmobile/common.h > @@ -13,7 +13,8 @@ extern void

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-10 Thread Russell King - ARM Linux
On Tue, Jun 09, 2015 at 12:08:28PM -0700, Stephen Boyd wrote: > On 04/13/2015 06:42 AM, Russell King - ARM Linux wrote: > > On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: > >> Writes to /sys/.../cpuX/online fail if we determine the platform > >> doesn't support hotplug for that CPU.

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-10 Thread Catalin Marinas
On Tue, Jun 09, 2015 at 10:02:00PM +0100, Russell King - ARM Linux wrote: > On Tue, Jun 09, 2015 at 12:08:28PM -0700, Stephen Boyd wrote: > > On 04/13/2015 06:42 AM, Russell King - ARM Linux wrote: > > > On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: > > >> Cc: Mark Rutland > > >>

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-10 Thread Catalin Marinas
On Tue, Jun 09, 2015 at 10:02:00PM +0100, Russell King - ARM Linux wrote: On Tue, Jun 09, 2015 at 12:08:28PM -0700, Stephen Boyd wrote: On 04/13/2015 06:42 AM, Russell King - ARM Linux wrote: On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: Cc: Mark Rutland

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-10 Thread Russell King - ARM Linux
On Tue, Jun 09, 2015 at 12:08:28PM -0700, Stephen Boyd wrote: On 04/13/2015 06:42 AM, Russell King - ARM Linux wrote: On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: Writes to /sys/.../cpuX/online fail if we determine the platform doesn't support hotplug for that CPU.

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-10 Thread Stephen Boyd
On 06/10/2015 03:57 PM, Russell King - ARM Linux wrote: diff --git a/arch/arm/mach-shmobile/common.h b/arch/arm/mach-shmobile/common.h index 476092b86c6e..f2c4bf437ea7 100644 --- a/arch/arm/mach-shmobile/common.h +++ b/arch/arm/mach-shmobile/common.h @@ -13,7 +13,8 @@ extern void

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-09 Thread Russell King - ARM Linux
On Tue, Jun 09, 2015 at 12:08:28PM -0700, Stephen Boyd wrote: > On 04/13/2015 06:42 AM, Russell King - ARM Linux wrote: > > On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: > >> Cc: Mark Rutland > >> Cc: Nicolas Pitre > >> Cc: Dave Martin > >> Acked-by: Simon Horman [shmobile

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-09 Thread Stephen Boyd
On 04/13/2015 06:42 AM, Russell King - ARM Linux wrote: > On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: >> Writes to /sys/.../cpuX/online fail if we determine the platform >> doesn't support hotplug for that CPU. Furthermore, if the cpu_die >> op isn't specified the system hangs

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-09 Thread Stephen Boyd
On 04/13/2015 06:42 AM, Russell King - ARM Linux wrote: On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: Writes to /sys/.../cpuX/online fail if we determine the platform doesn't support hotplug for that CPU. Furthermore, if the cpu_die op isn't specified the system hangs when we

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-09 Thread Russell King - ARM Linux
On Tue, Jun 09, 2015 at 12:08:28PM -0700, Stephen Boyd wrote: On 04/13/2015 06:42 AM, Russell King - ARM Linux wrote: On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: Cc: Mark Rutland mark.rutl...@arm.com Cc: Nicolas Pitre n...@linaro.org Cc: Dave Martin dave.mar...@arm.com

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-13 Thread Russell King - ARM Linux
On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: > Writes to /sys/.../cpuX/online fail if we determine the platform > doesn't support hotplug for that CPU. Furthermore, if the cpu_die > op isn't specified the system hangs when we try to offline a CPU > and it comes right back online

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-13 Thread Russell King - ARM Linux
On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: Writes to /sys/.../cpuX/online fail if we determine the platform doesn't support hotplug for that CPU. Furthermore, if the cpu_die op isn't specified the system hangs when we try to offline a CPU and it comes right back online

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-11 Thread Tyler Baker
On 10 April 2015 at 15:33, Stephen Boyd wrote: > Writes to /sys/.../cpuX/online fail if we determine the platform > doesn't support hotplug for that CPU. Furthermore, if the cpu_die > op isn't specified the system hangs when we try to offline a CPU > and it comes right back online unexpectedly.

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-11 Thread Tyler Baker
On 10 April 2015 at 15:33, Stephen Boyd sb...@codeaurora.org wrote: Writes to /sys/.../cpuX/online fail if we determine the platform doesn't support hotplug for that CPU. Furthermore, if the cpu_die op isn't specified the system hangs when we try to offline a CPU and it comes right back online

[PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-10 Thread Stephen Boyd
Writes to /sys/.../cpuX/online fail if we determine the platform doesn't support hotplug for that CPU. Furthermore, if the cpu_die op isn't specified the system hangs when we try to offline a CPU and it comes right back online unexpectedly. Let's figure this stuff out before we make the sysfs

[PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-10 Thread Stephen Boyd
Writes to /sys/.../cpuX/online fail if we determine the platform doesn't support hotplug for that CPU. Furthermore, if the cpu_die op isn't specified the system hangs when we try to offline a CPU and it comes right back online unexpectedly. Let's figure this stuff out before we make the sysfs