diff options
| author | Koichiro Den <den@valinux.co.jp> | 2026-03-06 12:14:43 +0900 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-03-27 10:56:41 -0500 |
| commit | 70becc1a9b453ce04f97507585afc2cf47e67b11 (patch) | |
| tree | c0bd6e2d47e9b72723a1188c0795885656c0d7f3 /tools/perf/scripts/python/flamegraph.py | |
| parent | 852b94ff92cbe26a0dbb15eed9474f5493767f3b (diff) | |
PCI: endpoint: pci-epf-vntb: Implement .get_dma_dev()
When vNTB is used as a PCI endpoint function, the NTB device is backed
by a virtual PCI function. For DMA API allocations and mappings, NTB
clients must use the device that is associated with the IOMMU domain.
Implement ntb_dev_ops->get_dma_dev() for pci-epf-vntb and return the EPC
parent device.
Suggested-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Koichiro Den <den@valinux.co.jp>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260306031443.1911860-4-den@valinux.co.jp
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
