[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4563C775.8020004@garzik.org>
Date: Tue, 21 Nov 2006 22:43:49 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Linus Torvalds <torvalds@...l.org>
CC: Daniel Barkalow <barkalow@...ervon.org>,
linux-kernel@...r.kernel.org, David Miller <davem@...emloft.net>,
Roland Dreier <rdreier@...co.com>,
Ayaz Abdulla <aabdulla@...dia.com>
Subject: Re: [PATCH] Disable INTx when enabling MSI in forcedeth
Linus Torvalds wrote:
>
> On Tue, 21 Nov 2006, Daniel Barkalow wrote:
>> My nVidia ethernet card doesn't disable its own INTx when MSI is
>> enabled. This causes a steady stream of spurious interrupts that
>> eventually kills my SATA IRQ if MSI is used with forcedeth, which is
>> true by default. Simply disabling the INTx interrupt takes care of it.
>>
>> This is against -stable, and would be suitable once someone who knows the
>> code verifies that it's correct.
>
> I _really_ think that we should do this in pci_msi_enable().
>
> Screw cards that are not PCI-2.3 compliant - just make the rule be that if
> you use MSI, you _have_ to allow us to set the disable-INTx bit. It's then
> up to the drivers to decide if they can use MSI or not.
>
> (Even a number of cards that are not PCI-2.3 may simply not _implement_
> the disable-INTx bit, and in that case, they can use MSI if they disable
> INTx automatically - the ).
>
> Comments?
I agree. And it's just a simple matter of remove the PCI-Express
brackets AFAICS, like in the attached patch (untested).
Jeff
View attachment "patch" of type "text/plain" (941 bytes)
Powered by blists - more mailing lists