public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pci_enable_msi() for everyone?
@ 2005-06-03 22:45 Greg KH
  2005-06-03 23:16 ` Jeff Garzik
                   ` (3 more replies)
  0 siblings, 4 replies; 39+ messages in thread
From: Greg KH @ 2005-06-03 22:45 UTC (permalink / raw)
  To: tom.l.nguyen, linux-pci; +Cc: linux-kernel, roland, davem

In talking with a few people about the MSI kernel code, they asked why
we can't just do the pci_enable_msi() call for every pci device in the
system (at somewhere like pci_enable_device() time or so).  That would
let all drivers and devices get the MSI functionality without changing
their code, and probably make the api a whole lot simpler.

Now I know the e1000 driver would have to specifically disable MSI for
some of their broken versions, and possibly some other drivers might
need this, but the downside seems quite small.

Or am I missing something pretty obvious here?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 39+ messages in thread
* RE: pci_enable_msi() for everyone?
@ 2005-06-07 22:33 Nguyen, Tom L
  0 siblings, 0 replies; 39+ messages in thread
From: Nguyen, Tom L @ 2005-06-07 22:33 UTC (permalink / raw)
  To: Greg KH, Roland Dreier
  Cc: Dave Jones, Grant Grundler, linux-pci, linux-kernel, davem,
	Nguyen, Tom L

Monday, June 06, 2005 10:22 PM Greg KH wrote:
>> 
>> Huh?  If a host bridge doesn't support MSI, and a device below it has
>> its MSI capability enabled, we're in big trouble.  Because that
device
>> is going to send interrupt messages whether the bridge likes it or
>> not.
>
>No, that device would never get MSI enabled on it.  See the patch I
>posted to make sure I didn't get it wrong...

You're correct. If a host bridge doesn't support MSI, MSI quirk is set
to indicate that do not enable MSI/MSI-X on any device.

Thanks,
Long

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

end of thread, other threads:[~2005-06-07 22:34 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-03 22:45 pci_enable_msi() for everyone? Greg KH
2005-06-03 23:16 ` Jeff Garzik
2005-06-04  0:01   ` Benjamin Herrenschmidt
2005-06-04  0:08     ` Jeff Garzik
2005-06-04  0:16       ` Benjamin Herrenschmidt
2005-06-04  0:34         ` Jeff Garzik
2005-06-04  6:51   ` Greg KH
2005-06-03 23:36 ` Roland Dreier
2005-06-06 22:58   ` Greg KH
2005-06-07  0:23     ` Roland Dreier
2005-06-07  5:19       ` Greg KH
2005-06-04  1:31 ` Grant Grundler
2005-06-04  6:48   ` Greg KH
2005-06-04  7:05     ` Grant Grundler
2005-06-04  7:18       ` Greg KH
2005-06-04  7:23         ` Dave Jones
2005-06-04 14:58           ` Roland Dreier
2005-06-06 23:01           ` Greg KH
2005-06-07  0:26             ` Roland Dreier
2005-06-07  5:22               ` Greg KH
2005-06-07  5:46                 ` Adam Belay
2005-06-07 17:43                   ` Luben Tuikov
2005-06-05 22:00         ` Benjamin Herrenschmidt
2005-06-06 23:00           ` Greg KH
2005-06-06 23:56             ` Benjamin Herrenschmidt
2005-06-05 19:46 ` David S. Miller
2005-06-06 22:55   ` Greg KH
2005-06-06 22:59     ` David S. Miller
2005-06-06 23:09       ` Greg KH
2005-06-06 23:08     ` Jeff Garzik
2005-06-06 23:10       ` David S. Miller
2005-06-06 23:13       ` Greg KH
2005-06-06 23:53         ` Jeff Garzik
2005-06-06 23:56           ` Greg KH
2005-06-06 23:58           ` David S. Miller
2005-06-07  4:24       ` Grant Grundler
2005-06-07  0:18     ` Roland Dreier
2005-06-07  5:21       ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2005-06-07 22:33 Nguyen, Tom L

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