shared interrupt again and again
Hello,
When I disable and shut down (in cleanup_module) an IRQ shared (with ata!) in linux domain ,
it seems to also shut down (or disable?) the linux IRQ.
Is there a special way to unregister shared IRQs?
Thank you
JP DUBLON
Quoted 8 lines · jpdublon
Hello,
When I disable and shut down (in
cleanup_module) an IRQ shared (with ata!) in linux domain ,
it seems to also shut down (or disable?) the linux IRQ.Is there a special way to unregister shared IRQs?
Are you trying to share an IRQ between linux and Xenomai domain ? If yes, you should be aware that it will not work out of the box.
To get it to work, you will have to move the small part of code which reads and clears the device status from Linux domain interrupt handler to a Xenomai domain interrupt handler, where you will then need to post the Linux domain interrupt if the device has an interrupt pending. This is something that must be done for any driver which IRQ line needs to be shared with a Xenomai driver.
If doing this is impossible for you (for instance because you intend to run your driver on multiple boxes with different driver/IRQ assignment), then you should read Xenomai FAQ.
Signature · 1 line
Gilles Chanteperdrix