linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Handling multiple GPIO controllers in 8xxx GPIO driver
@ 2011-09-27 13:59 Felix Radensky
  2011-09-27 18:29 ` Grant Likely
  0 siblings, 1 reply; 8+ messages in thread
From: Felix Radensky @ 2011-09-27 13:59 UTC (permalink / raw)
  To: linuxppc-dev@ozlabs.org, jacmet@sunsite.dk, grant.likely

Hi,

Looks like  8xxx GPIO driver cannot properly handle interrupts
when multiple GPIO controllers exist in the system.

On Freescale P1022 there are 3 GPIO controllers. All 3 use
the same interrupt line, internal interrupt 31. If all controllers
are defined in device tree set_irq_chained_handler() is invoked
3 times with same  hardware irq number. The result is interrupt
storm,  mpc8xxx_gpio_irq_cascade() is invoked indefinitely.

What would be the best way to fix the problem ?

Thanks.

Felix Radensky.

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

end of thread, other threads:[~2011-09-30  0:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27 13:59 Handling multiple GPIO controllers in 8xxx GPIO driver Felix Radensky
2011-09-27 18:29 ` Grant Likely
2011-09-27 22:07   ` Felix Radensky
2011-09-28 20:52   ` Tabi Timur-B04825
2011-09-29 17:27     ` Grant Likely
2011-09-29 20:22       ` Tabi Timur-B04825
2011-09-29 21:36         ` Grant Likely
2011-09-29 20:44       ` Felix Radensky

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