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, Apr 16, 9:56 PM
Unknown Object (File)
Tue, Apr 16, 5:04 PM
Unknown Object (File)
Tue, Apr 16, 6:31 AM
Unknown Object (File)
Tue, Apr 9, 8:25 PM
Unknown Object (File)
Fri, Apr 5, 11:10 PM
Unknown Object (File)
Fri, Apr 5, 8:54 AM
Unknown Object (File)
Dec 21 2023, 6:42 PM
Unknown Object (File)
Dec 20 2023, 12:19 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.