On Thu, Jun 23, 2016 at 9:13 AM, Quinn Tran <quinn.tran@xxxxxxxxxx> wrote: > > > QT: setting up the interrupt vector does not mean the interrupt starts firing immediately. Actually, it very much can mean that. If the interrupt can possibly be shared, there is a very real possibility of it fiding immediately. Now, with MSI(-X) I guess that isn't a worry, so I suspect your patch that handles just the legacy INTx case anyway is sufficient, but in general I would like people to always act as if interrupts can happen immediately after request_irq(). We have had *tons* of situations where the firmware left a device active, for example. Or where some random interrupt controller ended up having stale interrupts pending, even. So in general, it's just good practice to say "spurious interrupts can and do happen" - the shared irq case is the most obvious case, but there have been other sources of unexpected spurious interrupts firing. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html