is there any more to having a single interrupt drive multiple handlers than IRQF_SHARED?

Robert P. J. Day rpjday at
Thu Oct 26 16:32:42 EDT 2017

  colleague just asked how he can use a single interrupt line to
trigger more than one interrupt handler, and i just said, "well,

  i'm not sure if there's any more to this problem, but am i off-base
in suggesting that that is pretty much what IRQF_SHARED is designed

  now, i do realize that it can be used along with a unique dev_id
values to isolate a *particular* handler amongst a group of handlers,
but if one simply wants to trigger *all* handlers registered for that
interrupt, is there anything about that that's tricky?

  it seems pretty straightforward, but i'm going back to review my
interrupt handlers this evening.



Robert P. J. Day                                 Ottawa, Ontario, CANADA


More information about the Kernelnewbies mailing list