Commit c963218
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>1 parent 159bf19 commit c963218
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2457 | 2457 | | |
2458 | 2458 | | |
2459 | 2459 | | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
2460 | 2463 | | |
2461 | 2464 | | |
2462 | 2465 | | |
2463 | 2466 | | |
2464 | 2467 | | |
2465 | 2468 | | |
2466 | 2469 | | |
| 2470 | + | |
2467 | 2471 | | |
2468 | 2472 | | |
2469 | 2473 | | |
| |||
0 commit comments