Re: how to tell Linux *not* to share IRQs ?

Chris Wedgwood (cw@f00f.org)
Thu, 26 Jul 2001 19:39:34 +1200


On Thu, Jul 26, 2001 at 05:06:21PM +1000, Andrew McNamara wrote:

Does this mean the ISRs for every driver sharing an interrupt have
to poll their device when an interrupt comes in (in the case of
shared PCI interrupts), or is there some additional hardware
smarts so the kernel knows which driver's ISRs need to be invoked?

Yes, drivers need to check their hardware devices and acknowledge
whether or not it's was their interrupt or not. It sounds terrible
but even with many thousands of interrupts per second the cost doesn't
seem to be that high.

--cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/