[PATCH] ARM: ux500: Initialize irq affinity

Linus Walleij linus.walleij at linaro.org
Tue Jan 24 17:00:31 EST 2012


On Tue, Jan 24, 2012 at 12:04 PM, Will Deacon <will.deacon at arm.com> wrote:
> [Russell]
>> So, if you have interrupts which can only be serviced by a group of CPUs,
>> at least one of those CPUs must remain online at all times that those
>> dependent devices could produce an interrupt.
>>
>> I think what we want instead is for the IRQ subsystem to record on a
>> per-IRQ basis which CPUs the interrupt /can/ be routed to, and if:
>>
>>       affinity & cpus_online & allowable_cpus
>>
>> becomes empty, the attempt to set the affinity is failed.  Also, a callback
>> in the hotplug code to error out if
>>
>>       cpus_online & allowable_cpus & ~offlining_cpu
>>
>> would become an empty set.
>
> That looks like a good idea to me. I suggest we wait until somebody builds
> such a monster and get them to implement the solution :) (unless the ux500 is
> capable of booting on a CPU other than 0?).

No it needs to boot on 0. So let's let this thread sleep ...

Thanks,
Linus Walleij



More information about the linux-arm-kernel mailing list