linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* GIC affinity and edge trigger
@ 2012-09-20 16:22 Barak Wasserstrom
  2012-09-24 14:26 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: Barak Wasserstrom @ 2012-09-20 16:22 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,
I'm currently using linux kernel 2.6.38 with SMP enabled.
I have an interrupt which is a pulse and therefore I set the trigger to
positive edge.
Due to the fact that each CPU sees its own GIC distributor memory space,
only the CPU that executed request_irq has the trigger type set to positive
edge, while the others remain level.
Moreover, gic_set_cpu always defines the GIC distributor target to be CPU0.
So only CPU0 target is enabled + trigger is set to edge only for one CPU and
thus not always do I get the interrupt.
Can you please help me understand what I'm doing wrong, or misunderstand?

Regards,
Barak



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120920/e56f20e7/attachment-0001.html>

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

end of thread, other threads:[~2012-09-24 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20 16:22 GIC affinity and edge trigger Barak Wasserstrom
2012-09-24 14:26 ` Marc Zyngier

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).