[PATCH 16/21] dma-iommu: factor contiguous remapped allocations into helpers

2019-03-27 Thread Christoph Hellwig
This moves the last remaning non-dispatch code out of iommu_dma_alloc, preparing to refactor the allocation method selection. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 48 +++ 1 file changed, 29 insertions(+), 19 deletions(-) diff --git

[PATCH 16/21] dma-iommu: factor contiguous remapped allocations into helpers

2019-02-13 Thread Christoph Hellwig
This moves the last remaning non-dispatch code out of iommu_dma_alloc, preparing to refactor the allocation method selection. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 48 +++ 1 file changed, 29 insertions(+), 19 deletions(-) diff --git