public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MSI problem since 2.6.21 for devices not providing a mask in their MSI capability
@ 2007-10-03 21:12 Loic Prylli
  2007-10-03 21:49 ` Eric W. Biederman
  0 siblings, 1 reply; 8+ messages in thread
From: Loic Prylli @ 2007-10-03 21:12 UTC (permalink / raw)
  To: linux-pci, Linux Kernel Mailing List, Eric W. Biederman

Hi,

We observe a problem with MSI since kernel 2.6.21 where interrupts would
randomly stop working. We have tracked it down to the new
msi_set_mask_bit definition in 2.6.21. In the MSI case with a device not
providing a "native" MSI mask, it was a no-op before, and now it
disables MSI in the MSI-ctl register which according to the PCI spec is
interpreted as reverting the device to legacy interrupts. If such a
device try to generate a new interrupt during the "masked" window, the
device will try a legacy interrupt which is generally
ignored/never-acked and cause interrupts to no longer work for the
device/driver combination (even after the enable bit is restored).


Is there anything apart from irq migration that strongly requires
masking? Is is possible to do the irq migration without masking?



Loic


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-10-04 17:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-03 21:12 MSI problem since 2.6.21 for devices not providing a mask in their MSI capability Loic Prylli
2007-10-03 21:49 ` Eric W. Biederman
2007-10-03 22:03   ` Benjamin Herrenschmidt
2007-10-03 22:25     ` Eric W. Biederman
2007-10-04  1:44   ` Loic Prylli
2007-10-04  3:58     ` Eric W. Biederman
2007-10-04  9:14       ` Loic Prylli
2007-10-04 17:03         ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox