public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* recommended use of request_any_context_irq()
@ 2016-09-21 21:14 Leo Li
  2016-09-22  8:10 ` Marc Zyngier
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Li @ 2016-09-21 21:14 UTC (permalink / raw)
  To: Marc Zyngier, Thomas Gleixner, lkml, Marc Zyngier

Hi Marc and Thomas,

With the introduction of request_any_context_irq() routine, driver can
deal with interrupt controllers using either threaded irq or normal
irq.  But I don't see many drivers that have been changed to use this
function to request interrupt.  For on-board devices, the driver
normally don't know which kind of interrupt controller they are
connected to.  Why don't we make the request_any_context_irq()
mandatory or recommended for all drivers?  Is there any drawback for
changing all the request_irq() to the request_any_context_irq()?

Regards,
Leo

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

end of thread, other threads:[~2016-09-23 18:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-21 21:14 recommended use of request_any_context_irq() Leo Li
2016-09-22  8:10 ` Marc Zyngier
2016-09-22  9:29   ` Thomas Gleixner
2016-09-22 20:38   ` Leo Li
2016-09-22 20:47     ` Thomas Gleixner
2016-09-22 21:52       ` Leo Li
2016-09-22 22:03         ` Thomas Gleixner
2016-09-23 18:33           ` Leo Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox