HomeFreeBSD

xhci: Handle the case when MSI-X BAR is the same as IO BAR.

Description

xhci: Handle the case when MSI-X BAR is the same as IO BAR.

PCIe allows for MSI-X BAR to be either dedicated, or MSI-X Table may
be co-located in some functional BAR. In the later case xhci(4) is
unable to allocate active resource for the table because BAR is
already activated.

Handle it by checking for this special case, and not try to alloc
resource if MSI-X BAR is IO.

Reported and tested by: emaste
Reviewed by: emaste, hselasky
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D26913

Details

Provenance
kibAuthored on
Reviewer
emaste
Differential Revision
D26913: xhci: Handle the case when MSI-X BAR is same as IO BAR.
Parents
rS366977: libelf: add compression header support
Branches
Unknown
Tags
Unknown