diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-21 03:08:13 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-22 01:04:49 +0000 |
| commit | df6bbc9b17dcb75e220b9ab44f5a6483b47c562e (patch) | |
| tree | f13e6e803596e64c86b460eb505c3759351f4714 /lldb/source/Plugins/ObjectFile/ELF/(public-mirror) | |
| parent | f003e86335c9c16c6769ef8f0c091d425dba7ef9 (diff) | |
BUS_GET_DOMAIN can report a PCI function's firmware locality, including
an SR-IOV VF's inherited PF locality, but ordinary OFW PCI functions
still use the shared bus DMA tag. Consequently, busdma metadata and
coherent memory can be allocated from the bus's domain instead of the
function's domain.
Create and cache a child tag for each function that requests a DMA tag
and apply its reported domain without modifying the shared parent tag.
Apply the same domain to the private IOMMU tag already created by the
pSeries PCI bus. Destroy cached tags when PCI children are removed so
VF create and destroy cycles do not leak them.
Reviewed by: PowerPC (jhibbits)
MFC after: 2 weeks
Sponsored by: BBOX.io
Differential Revision: https://reviews.freebsd.org/D59065
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
