LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Affinity for GIC irq line
@ 2018-04-25  3:23 valmiki
  2018-04-25  7:07 ` Marc Zyngier
  0 siblings, 1 reply; 3+ messages in thread
From: valmiki @ 2018-04-25  3:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: Marc Zyngier, tglx, jason, Catalin Marinas

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 GICD_ITARGETSRn register.

But irq_set_affinity isn't writing to this register.Please correct me if 
I'm wrong i did not find code for this register being updated in 
irq_set_affinity flow.
So how affinity is being set for an IRQ line ?

If affinity was set successfully on what CPU does asm_do_IRQ run ?
For every interrupt this runs on CPU0 and then FIQ/IRQ handling is 
scheduled on different CPU as per affinity ?
How the respective irq line handler is handled on specific CPU core ?

Regards,
Valmiki


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-26  3:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-25  3:23 Affinity for GIC irq line valmiki
2018-04-25  7:07 ` Marc Zyngier
2018-04-26  3:49   ` valmiki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).