irq handling in DDE Linux26

Samuel Thibault samuel.thibault at gnu.org
Fri May 7 10:31:51 CEST 2010


Hello,

Da Zheng, le Fri 07 May 2010 00:53:20 +0800, a écrit :
> In ne2k-pci, an example in DDE Linux26, when a packet is transmitted by the
> driver, disable_irq_nosync_lockdep_irqsave() is called to disable irq. Then it
> triggers a send and calls enable_irq_lockdep_irqrestore().

> Should the interrupt handler delays interrupts instead of ignoring
> them silently when the interrupt line is disabled?

See __enable_irq in the linux source code:

		check_irq_resend(desc, irq);

which re-sends the irq if it has been set to pending while it was
disabled.

Samuel




More information about the l4-hackers mailing list