Re: [PATCH 12/26] iommu/dma: Refactor the page array remapping allocator

2019-04-29 Thread Robin Murphy
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

[PATCH 12/26] iommu/dma: Refactor the page array remapping allocator

2019-04-22 Thread 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