Re: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-08-11 Thread Turquette, Mike
On Fri, Jul 22, 2011 at 5:53 AM, Santosh Shilimkar wrote: > On 7/22/2011 6:15 PM, Woodruff, Richard wrote: >> >>> From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux-arm- >>> kernel-boun...@lists.infradead.org] On Behalf Of Shilimkar, Santosh >> With fixed IRQ migration and forci

Re: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-07-22 Thread Santosh Shilimkar
On 7/22/2011 6:15 PM, Woodruff, Richard wrote: From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux-arm- kernel-boun...@lists.infradead.org] On Behalf Of Shilimkar, Santosh With fixed IRQ migration and forcing CPU0 into an infinite WFI loop, I can offline CPU0 and still have a ru

RE: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-07-22 Thread Woodruff, Richard
> From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux-arm- > kernel-boun...@lists.infradead.org] On Behalf Of Shilimkar, Santosh > > With fixed IRQ migration and forcing CPU0 into an infinite WFI loop, > > I can offline CPU0 and still have a running system. > > > The secure software

Re: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-07-21 Thread Santosh Shilimkar
On 7/21/2011 7:00 PM, Russell King - ARM Linux wrote: On Thu, Jul 21, 2011 at 11:03:04AM +0530, Santosh Shilimkar wrote: Just talking on behalf of OMAP, we can't offline CPU0 and limitation would remain in future OMAPs too. Apart from the broken IRQ migration, and the way CPU0 immediately reaw

Re: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-07-21 Thread Turquette, Mike
On Thu, Jul 21, 2011 at 12:45 AM, Russell King - ARM Linux wrote: > On Wed, Jul 20, 2011 at 04:32:25PM -0700, Mike Turquette wrote: >> A quick poll of the ARM platforms that implement CPU Hotplug support >> shows that every platform treats CPU 0 as a special case that cannot be >> hotplugged.  In

RE: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-07-21 Thread Woodruff, Richard
> From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux-arm- > kernel-boun...@lists.infradead.org] On Behalf Of Russell King - ARM Linux > On Wed, Jul 20, 2011 at 04:32:25PM -0700, Mike Turquette wrote: > > A quick poll of the ARM platforms that implement CPU Hotplug support > > shows

Re: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-07-21 Thread Russell King - ARM Linux
On Thu, Jul 21, 2011 at 11:03:04AM +0530, Santosh Shilimkar wrote: > Just talking on behalf of OMAP, we can't offline CPU0 and limitation > would remain in future OMAPs too. Apart from the broken IRQ migration, and the way CPU0 immediately reawakes if it is offlined on OMAP4 (even when IRQs are mi

Re: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-07-21 Thread Russell King - ARM Linux
On Wed, Jul 20, 2011 at 04:32:25PM -0700, Mike Turquette wrote: > A quick poll of the ARM platforms that implement CPU Hotplug support > shows that every platform treats CPU 0 as a special case that cannot be > hotplugged. In fact every platform has identical code for > platform_cpu_die which retu

Re: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-07-20 Thread Santosh Shilimkar
On 7/21/2011 8:32 AM, Rob Herring wrote: On 07/20/2011 06:32 PM, Mike Turquette wrote: A quick poll of the ARM platforms that implement CPU Hotplug support shows that every platform treats CPU 0 as a special case that cannot be hotplugged. In fact every platform has identical code for platform_

Re: [PATCH] ARM: do not mark CPU 0 as hotpluggable

2011-07-20 Thread Rob Herring
On 07/20/2011 06:32 PM, Mike Turquette wrote: > A quick poll of the ARM platforms that implement CPU Hotplug support > shows that every platform treats CPU 0 as a special case that cannot be > hotplugged. In fact every platform has identical code for > platform_cpu_die which returns -EPERM in the