Re: [patch] PCI: disable MSI on more ATI NorthBridges

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Barkalow
Date: Monday, October 22, 2007 - 2:31 pm

On Mon, 22 Oct 2007, Jeff Garzik wrote:


I have a device that supports MSI and INTX-disable, and, with MSI on (and 
delivering interrupts successfully) also sends legacy interrupts (on 
the IRQ that is no longer associated with the device) unless INTX is 
disabled. Without the intx_disable(), the kernel disables the IRQ 
entirely and breaks a random other device in my system.

It's:

00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)

I haven't tried MSI with the other devices in the system, but I expect 
that this:

00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)

will have the same issue, and use a multi-vendor driver.


It's likewise documented (although maybe arguable in wording) that the 
device shouldn't send legacy interrupts if MSI is in use, regardless of 
INTX_DISABLE, but this also happens in the field.

I think that the current Linux behavior with respect to INTX_DISABLE is 
simply due to which hardware bug was present in the device whose driver 
first got Linux support, but one or the other or both needs a quirk, since 
there's no behavior that works with everything. And it's still impossible 
to tell which bug is more common, since MSI isn't used most of the time, 
even if the hardware supports it, so it's pretty arbitrary which way Linux 
goes in the non-quirk case.

	-Daniel
*This .sig left intentionally blank*
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Fri Oct 19, 6:17 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Linas Vepstas, (Fri Oct 19, 12:57 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Fri Oct 19, 1:21 pm)
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Sat Oct 20, 7:50 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Gaarenstroom, (Sat Oct 20, 1:52 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Benjamin Herrenschmidt, (Sat Oct 20, 3:03 pm)
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Sat Oct 20, 11:00 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Daniel Barkalow, (Mon Oct 22, 1:26 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Mon Oct 22, 1:41 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Daniel Barkalow, (Mon Oct 22, 2:31 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Krzysztof Halasa, (Mon Oct 22, 4:40 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Krzysztof Halasa, (Mon Oct 22, 4:48 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Mon Oct 22, 4:58 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Mon Oct 22, 5:13 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Daniel Barkalow, (Mon Oct 22, 10:52 pm)
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Tue Oct 23, 2:39 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Tue Oct 23, 3:01 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Tue Oct 23, 3:06 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Tue Oct 23, 3:13 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, Jeff Garzik, (Tue Oct 23, 3:15 am)
RE: [patch] PCI: disable MSI on more ATI NorthBridges, Shane Huang, (Tue Oct 23, 3:56 am)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Tue Oct 23, 7:41 pm)
Re: [patch] PCI: disable MSI on more ATI NorthBridges, David Miller, (Tue Oct 23, 7:46 pm)