diff options
author | 2019-08-12 11:30:46 -0600 | |
---|---|---|
committer | 2019-08-16 08:41:48 -0500 | |
commit | 5d52e1abcd47957f5f4cae26659768655e3ac9f5 (patch) | |
tree | d279f23bfffa8466cb1a7ad76a20dd3e9e17466f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/P2PDMA: Store mapping method in an xarray (diff) | |
download | wireguard-linux-5d52e1abcd47957f5f4cae26659768655e3ac9f5.tar.xz wireguard-linux-5d52e1abcd47957f5f4cae26659768655e3ac9f5.zip |
PCI/P2PDMA: dma_map() requests that traverse the host bridge
Any requests that traverse the host bridge will need to be mapped into the
IOMMU, so call dma_map_sg() inside pci_p2pdma_map_sg() when appropriate.
Similarly, call dma_unmap_sg() inside pci_p2pdma_unmap_sg().
Link: https://lore.kernel.org/r/20190730163545.4915-13-logang@deltatee.com
Link: https://lore.kernel.org/r/20190812173048.9186-13-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions