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

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Thu Oct 26 17:17:32 EDT 2017


On Thu, 26 Oct 2017 16:32:42 -0400, "Robert P. J. Day" said:

>   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?

You mean, other than the fact that multiple handlers for the same device
damned well be coded to know that, and be aware of each other?  Locking, etc.
and all the other Bad Juju that can happen when multiple drivers are all
acting on one device.

What problem is your colleague trying to solve by doing this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171026/a3d31a47/attachment.bin 


More information about the Kernelnewbies mailing list