[openib-general] Re: Disabling IRQ #201 message

Roland Dreier roland at topspin.com
Wed Feb 2 11:53:04 PST 2005


    Michael> Why does it "totally break" it? We did suppress the
    Michael> interrupt (write to clear interrupt register) so we
    Michael> return "HANDLED".  Its unavoidable that hardware may
    Michael> re-assert it while the handler is still running.

Because the purpose of the IRQ_HANDLED return value is to tell the
kernel that our device did indeed generate the interrupt.  If the
interrupt is shared with another device with a stuck interrupt then
always returning IRQ_HANDLED from our handler will prevent the kernel
from detecting the stuck interrupt.

 - R.



More information about the general mailing list