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
F167573781: D4698.id11658.diff
Sat, Aug 22, 7:15 PM
F167571912: D4698.id.diff
Sat, Aug 22, 6:50 PM
F167567409: D4698.id11647.diff
Sat, Aug 22, 6:02 PM
F167567354: D4698.diff
Sat, Aug 22, 6:02 PM
Unknown Object (File)
Wed, Aug 19, 7:27 PM
Unknown Object (File)
Wed, Aug 5, 2:31 AM
Unknown Object (File)
Tue, Aug 4, 2:52 AM
Unknown Object (File)
Mon, Jul 27, 3:20 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 Passed
Unit
No Test Coverage
Build Status
Buildable 1812
Build 1819: arc lint + arc unit

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.