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
F153989085: D4698.id11647.diff
Sat, Apr 25, 7:01 AM
Unknown Object (File)
Fri, Apr 24, 3:31 AM
Unknown Object (File)
Thu, Apr 23, 9:05 PM
Unknown Object (File)
Thu, Apr 23, 3:23 PM
Unknown Object (File)
Sat, Apr 18, 7:17 PM
Unknown Object (File)
Wed, Apr 15, 11:10 AM
Unknown Object (File)
Thu, Apr 9, 9:30 PM
Unknown Object (File)
Sat, Apr 4, 3:25 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.