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

2015-04-06 Thread Stephen Boyd
On 04/06/15 10:19, Tyler Baker wrote: > On 19 February 2015 at 14:14, Simon Horman wrote: >> On Wed, Feb 18, 2015 at 03:27:57PM -0800, Stephen Boyd wrote: >>> On 02/18/15 14:27, Simon Horman wrote: On Fri, Feb 13, 2015 at 04:42:54PM -0800, Stephen Boyd wrote: > Writes to

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

2015-04-06 Thread Tyler Baker
On 19 February 2015 at 14:14, Simon Horman wrote: > On Wed, Feb 18, 2015 at 03:27:57PM -0800, Stephen Boyd wrote: >> On 02/18/15 14:27, Simon Horman wrote: >> > On Fri, Feb 13, 2015 at 04:42:54PM -0800, Stephen Boyd wrote: >> >> Writes to /sys/.../cpuX/online fail if we determine the platform >>

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

2015-04-06 Thread Tyler Baker
On 19 February 2015 at 14:14, Simon Horman ho...@verge.net.au wrote: On Wed, Feb 18, 2015 at 03:27:57PM -0800, Stephen Boyd wrote: On 02/18/15 14:27, Simon Horman wrote: On Fri, Feb 13, 2015 at 04:42:54PM -0800, Stephen Boyd wrote: Writes to /sys/.../cpuX/online fail if we determine the

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

2015-04-06 Thread Stephen Boyd
On 04/06/15 10:19, Tyler Baker wrote: On 19 February 2015 at 14:14, Simon Horman ho...@verge.net.au wrote: On Wed, Feb 18, 2015 at 03:27:57PM -0800, Stephen Boyd wrote: On 02/18/15 14:27, Simon Horman wrote: On Fri, Feb 13, 2015 at 04:42:54PM -0800, Stephen Boyd wrote: Writes to

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

2015-02-19 Thread Simon Horman
On Wed, Feb 18, 2015 at 03:27:57PM -0800, Stephen Boyd wrote: > On 02/18/15 14:27, Simon Horman wrote: > > On Fri, Feb 13, 2015 at 04:42:54PM -0800, Stephen Boyd wrote: > >> Writes to /sys/.../cpuX/online fail if we determine the platform > >> doesn't support hotplug for that CPU. Furthermore, if

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

2015-02-19 Thread Simon Horman
On Wed, Feb 18, 2015 at 03:27:57PM -0800, Stephen Boyd wrote: On 02/18/15 14:27, Simon Horman wrote: On Fri, Feb 13, 2015 at 04:42:54PM -0800, Stephen Boyd wrote: Writes to /sys/.../cpuX/online fail if we determine the platform doesn't support hotplug for that CPU. Furthermore, if the

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

2015-02-18 Thread Stephen Boyd
On 02/18/15 14:27, Simon Horman wrote: > On Fri, Feb 13, 2015 at 04:42:54PM -0800, 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

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

2015-02-18 Thread Simon Horman
On Fri, Feb 13, 2015 at 04:42:54PM -0800, 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 v3] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-18 Thread Simon Horman
On Fri, Feb 13, 2015 at 04:42:54PM -0800, 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 v3] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-18 Thread Stephen Boyd
On 02/18/15 14:27, Simon Horman wrote: On Fri, Feb 13, 2015 at 04:42:54PM -0800, 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

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

2015-02-16 Thread Geert Uytterhoeven
On Sat, Feb 14, 2015 at 1:42 AM, Stephen Boyd wrote: > --- a/arch/arm/include/asm/smp.h > +++ b/arch/arm/include/asm/smp.h > @@ -104,6 +104,7 @@ struct smp_operations { > #ifdef CONFIG_HOTPLUG_CPU > int (*cpu_kill)(unsigned int cpu); > void (*cpu_die)(unsigned int cpu); > +

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

2015-02-16 Thread Geert Uytterhoeven
On Sat, Feb 14, 2015 at 1:42 AM, Stephen Boyd sb...@codeaurora.org wrote: --- a/arch/arm/include/asm/smp.h +++ b/arch/arm/include/asm/smp.h @@ -104,6 +104,7 @@ struct smp_operations { #ifdef CONFIG_HOTPLUG_CPU int (*cpu_kill)(unsigned int cpu); void (*cpu_die)(unsigned int

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

2015-02-13 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 v3] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-13 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