lkml.org 
[lkml]   [2005]   [Jun]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 7 Jun 2005 01:46:04 -0400
FromAdam Belay <>
SubjectRe: pci_enable_msi() for everyone?
On Mon, Jun 06, 2005 at 10:22:03PM -0700, Greg KH wrote:
> On Mon, Jun 06, 2005 at 05:26:32PM -0700, Roland Dreier wrote:
> > 
> >     davej> What if MSI support has been disabled in the bridge due to
> >     davej> some quirk (like the recent AMD 8111 quirk) ?  Maybe the
> >     davej> above function should check pci_msi_enable as well ?
> > 
> >     Greg> Yes, you are correct.  I said it wasn't tested :)
> > 
> > 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...
> 
> thanks,
> 
> greg k-h

How are we handling the case where a device has multiple MSI messages.
Is any driver interaction needed for that?  Will this change affect it?
I haven't had a chance to look through the MSI code yet.

Thanks,
Adam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-07 05:54    [from the cache]
©2003-2008