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
Unknown Object (File)
Mon, Nov 24, 4:50 AM
Unknown Object (File)
Sun, Nov 23, 4:22 AM
Unknown Object (File)
Sat, Nov 22, 7:01 PM
Unknown Object (File)
Sat, Nov 22, 3:03 AM
Unknown Object (File)
Fri, Nov 21, 4:59 AM
Unknown Object (File)
Fri, Nov 21, 4:52 AM
Unknown Object (File)
Fri, Nov 21, 4:45 AM
Unknown Object (File)
Fri, Nov 21, 4:43 AM
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.