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)
Tue, Oct 7, 12:02 AM
Unknown Object (File)
Mon, Oct 6, 3:30 AM
Unknown Object (File)
Fri, Sep 19, 3:38 AM
Unknown Object (File)
Thu, Sep 18, 12:14 PM
Unknown Object (File)
Sun, Sep 14, 6:31 PM
Unknown Object (File)
Fri, Sep 12, 1:19 AM
Unknown Object (File)
Sep 8 2025, 8:43 AM
Unknown Object (File)
Aug 15 2025, 6:00 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.