on which cpu an interrupt controller will raise an irq ?
Hi all,
I am not very familiar with the interrupt subsystem, so sorry if this sounds a stupid question.
IIUC, when a interrupt happens on a SMP system and if there is no affinity set for it, it is delivered following a scheme decided by the interrupt controller.
For example, for the APIC, there is a round robin behaviour, so an interrupt will be raised on cpu0, then cpu1, and so on ...
Is there a way to know on which cpu a controller will raise the interrupt ?
Thanks in advance
-- Daniel
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Quoted 11 lines · Daniel Lezcano
I am not very familiar with the interrupt subsystem, so sorry if this sounds a stupid question.
IIUC, when a interrupt happens on a SMP system and if there is no affinity set for it, it is delivered following a scheme decided by the interrupt controller.
For example, for the APIC, there is a round robin behaviour, so an interrupt will be raised on cpu0, then cpu1, and so on ...
Is there a way to know on which cpu a controller will raise the interrupt ?
No generic way which would allow to predict it on every controller we support.
Thanks,
tglx