Re: Do other USB hosts support MSI?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 08, 2010 at 10:07:47AM +0200, Clemens Ladisch wrote:
> Sarah Sharp wrote:
> > Do any other USB hosts support MSI/MSI-X?  A quick grep in the
> > drivers/usb/host/ directory says no.
> 
> There are several hardware implementations where MSI actually works.
> 
> The [EOU]HCI drivers don't have MSI support because there have been
> too many hardware bugs, but I'd guess a whitelist would work.
> 
> > Are there any plans to add MSI support to a USB host?
> 
> Yes.
> 
> On my machine, I have working MSI support for all USB hosts in my AMD
> SB710, but it's a horrible hack at the moment.  Due to lack of time,
> I've waited to see if I could eventually reuse any of your code.  :)

Dong's final patch is out, so if there is any code you can reuse, feel
free to refactor it into the USB core.

> > If so, it might be useful to introduce a new HCD driver function to
> > enable MSI, which the USB core can call in usb_add_hcd().  The hosts
> > could have a flag to indicate whether they are designed to handle
> > MSI/MSI-X.
> 
> Instead of a flag in struct hc_driver, we'd need another callback to be
> able to do the per-device whitelisting checks.

Where do you propose the callback be used?  In usb_add_hcd() or
somewhere else, like pci-quirks.c?

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux