On 22/04/2019 18:59, Christoph Hellwig wrote:
Move the call to dma_common_pages_remap into __iommu_dma_alloc and
rename it to iommu_dma_alloc_remap. This creates a self-contained
helper for remapped pages allocation and mapping.
Reviewed-by: Robin Murphy
Signed-off-by: Christoph Hellwig
Move the call to dma_common_pages_remap into __iommu_dma_alloc and
rename it to iommu_dma_alloc_remap. This creates a self-contained
helper for remapped pages allocation and mapping.
Signed-off-by: Christoph Hellwig
---
drivers/iommu/dma-iommu.c | 54 +++
1