Page MenuHomeFreeBSD

acpi_pci: Inherit PF locality for SR-IOV VFs
ClosedPublic

Authored by kbowling on Fri, Aug 21, 3:37 AM.
Tags
None
Referenced Files
F171595129: D59062.id185178.diff
Sat, Sep 12, 12:17 AM
Unknown Object (File)
Fri, Sep 11, 9:34 PM
Unknown Object (File)
Fri, Sep 11, 12:15 AM
Unknown Object (File)
Tue, Sep 8, 8:58 PM
Unknown Object (File)
Tue, Sep 8, 12:59 PM
Unknown Object (File)
Tue, Sep 8, 6:25 AM
Unknown Object (File)
Tue, Sep 8, 6:06 AM
Unknown Object (File)
Mon, Sep 7, 8:24 PM
Subscribers

Details

Summary
SR-IOV VFs are instantiated from their PF and intentionally do not
receive an ACPI handle by matching their runtime BDF.  Consequently,
ACPI locality queries for a VF fall back to the upstream bus.  This is
usually sufficient, but loses a _PXM supplied specifically for the PF.

Use the PCI core's owning-PF accessor for BUS_GET_DOMAIN and
BUS_GET_CPUS requests made for a VF.  This preserves the VF's lack of
an ACPI handle while allowing its CPU and NUMA placement to follow the
PF.

MFC after:      2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kbowling edited the summary of this revision. (Show Details)

Accessor split out to 3481a9cdc4dc

This revision is now accepted and ready to land.Wed, Aug 26, 6:02 PM