summaryrefslogtreecommitdiff
path: root/drivers/iommu/dma-iommu.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-07-08 19:50:58 +0300
committerChristoph Hellwig <hch@lst.de>2022-07-26 14:27:48 +0300
commitc96321834b2f7aa442cf4c076f73d8273e622725 (patch)
treeb248e071c6dfaf3d0eb8ac99f9d653abba98b076 /drivers/iommu/dma-iommu.c
parent159bf19270e80b5bc4b13aa88072dcb390b4d297 (diff)
downloadlinux-c96321834b2f7aa442cf4c076f73d8273e622725.tar.xz
iommu: Explicitly skip bus address marked segments in __iommu_map_sg()
In order to support PCI P2PDMA mappings with dma-iommu, explicitly skip any segments marked with sg_dma_mark_bus_address() in __iommu_map_sg(). These segments should not be mapped into the IOVA and will be handled separately in as subsequent patch for dma-iommu. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/iommu/dma-iommu.c')
0 files changed, 0 insertions, 0 deletions