iommu/dma: Factor out a iommu_dma_map_swiotlb helper
Split the iommu logic from iommu_dma_map_page into a separate helper. This not only keeps the code neatly separated, but will also allow for reuse in another caller. Signed-off-by:Christoph Hellwig <hch@lst.de> Tested-by:
Jens Axboe <axboe@kernel.dk> Reviewed-by:
Luis Chamberlain <mcgrof@kernel.org> Reviewed-by:
Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by:
Leon Romanovsky <leonro@nvidia.com> Signed-off-by:
Marek Szyprowski <m.szyprowski@samsung.com>
Loading
Please sign in to comment