diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-27 06:23:42 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-27 22:51:10 +0000 |
| commit | f1f58bdf7b5fc58e6011c6ac2ae2ba129dc41991 (patch) | |
| tree | d231a2948c07d779f88d8ce1c1d876d196749f84 /usr.sbin/adduser | |
| parent | 5f78d024695b39208a6c92f6a96017bae53cdf2c (diff) | |
A PCI function with its own _PXM still inherits a DMA tag carrying
the upstream bridge's proximity domain. Resolving an SR-IOV VF's
locality through its PF therefore does not affect the domain used for
DMA allocations.
Create and cache a private child tag when the function, or a VF's
owning PF, has an explicit _PXM. Parent it to the existing PCI or IOMMU
tag so its constraints remain intact, then apply the function's domain
without mutating a shared tag.
pci_get_dma_tag() already performs the IOMMU lookup, so remove the
duplicated lookup in the ACPI subclass while here.
Reviewed by: jhb
MFC after: 2 weeks
Sponsored by: BBOX.io
Differential Revision: https://reviews.freebsd.org/D59063
Diffstat (limited to 'usr.sbin/adduser')
0 files changed, 0 insertions, 0 deletions
