Page MenuHomeFreeBSD

Add support for MSI-X to xhci_pci
ClosedPublic

Authored by andrew on Dec 23 2015, 10:09 PM.
Tags
None
Referenced Files
F159255505: D4698.id11647.diff
Thu, Jun 11, 10:55 PM
Unknown Object (File)
Thu, Jun 11, 1:31 AM
Unknown Object (File)
Thu, Jun 11, 12:59 AM
Unknown Object (File)
Sat, Jun 6, 2:40 PM
Unknown Object (File)
Sat, Jun 6, 8:12 AM
Unknown Object (File)
Sat, Jun 6, 8:08 AM
Unknown Object (File)
Fri, Jun 5, 8:55 PM
Unknown Object (File)
Fri, Jun 5, 2:54 PM
Subscribers

Details

Summary

This adds support to the xhci pci attachment to use MSI-X interrupts
when available. This is needed on some hardware, for example the Cavium
ThunderX.

This depends on rS292669

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

andrew retitled this revision from to Add support for MSI-X to xhci_pci.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added a reviewer: hselasky.
andrew added a subscriber: emaste.
jhb added a reviewer: jhb.

Note that technically the PBA might be in a different BAR, but if so pci_alloc_msix() will fail and this will fall through to MSI or INTx, so this should be fine. Someday I will fix the PCI bus to alloc the MSI-X BARs on-demand instead. :-/

This revision is now accepted and ready to land.Dec 24 2015, 6:00 AM
This revision was automatically updated to reflect the committed changes.