> Yes, I understand this scenario. But I was thinking more about the race 
> condition, when the driver is *being* suspended, the hardware generates 
> interrupt before interrupt generation is disabled and the driver 
> interrupt routine was not called yet.
> Such window may be very small, but I would think it is possible. 
> Rejecting such interrupt with DDI_INTR_UNCLAIMED would cause continuous 
> interrupt calls.
> 
> -Pawel

  This is an interesting question, would this actually occur.  Or put 
another way, if I have a broken (or maybe not broken) driver that 
returns a DDI_INTR_UNCLAIMED even though it should/could have 
processed the interrupt.  Will it continue to be called, till it (or 
some other isr) claims the interrupt?  Or will it just be tossed?

        ---- Randy
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to