Re: Affinity for GIC irq line

2018-04-25 Thread valmiki
On 25/04/18 04:23, valmiki wrote: Hi all, When an IRQ line is set affinity using irq_set_affinity, which calls irq_do_set_affinity, this API copies affinity mask to affinity variable in irq_common_data of this irq descriptor. It does a wee bit more. Crucially, it contains the line: re

Re: Affinity for GIC irq line

2018-04-25 Thread Marc Zyngier
On 25/04/18 04:23, valmiki wrote: > Hi all, > > When an IRQ line is set affinity using irq_set_affinity, which calls > irq_do_set_affinity, this API copies affinity mask to affinity variable > in irq_common_data of this irq descriptor. It does a wee bit more. Crucially, it contains the line:

Affinity for GIC irq line

2018-04-24 Thread valmiki
Hi all, When an IRQ line is set affinity using irq_set_affinity, which calls irq_do_set_affinity, this API copies affinity mask to affinity variable in irq_common_data of this irq descriptor. But as per ARM GICv2 document in order to drive a interrupt to a specific CPU we need to program GIC