7 May
2010
7 May
'10
10:31 a.m.
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