Re: [PATCH 2/2] fusion: Implement generic interrupt misroute handling

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Bottomley <James.Bottomley@...>
Cc: David Vrabel <david.vrabel@...>, Moore, Eric <Eric.Moore@...>, linux-scsi <linux-scsi@...>, linux-kernel <linux-kernel@...>, linux-pci@vger.kernel.org <linux-pci@...>, Prakash, Sathya <Sathya.Prakash@...>
Date: Tuesday, August 5, 2008 - 1:38 pm

On Tuesday, August 05, 2008 9:36 am James Bottomley wrote:

David just got us to fix an MSI masking bug recently, which could be related.

The issue is that the PCI & interrupt handling code was disabling MSI during 
interrupt handling, which could end up causing missed interrupts.  When MSI 
is disabled, devices can still generate interrupts, but they'll go out the 
interrupt line instead, so unless your IRQ handler is also registered with 
that IRQ number, you'll probably lose them.

As of the last PCI upstream merge, we work around this issue by never masking 
MSI interrupts unless the device supports the MSI mask bit (as opposed to 
just the big hammer enable/disable flag).

Jesse


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] fusion: Implement generic interrupt misrout..., Jesse Barnes, (Tue Aug 5, 1:38 pm)