[PATCH 17/21] dma-iommu: refactor iommu_dma_alloc

2019-03-27 Thread Christoph Hellwig
Split all functionality related to non-coherent devices into a separate helper, and make the decision flow more obvious. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 51 +++ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/dr

[PATCH 17/21] dma-iommu: refactor iommu_dma_alloc

2019-02-13 Thread Christoph Hellwig
Split all functionality related to non-coherent devices into a separate helper, and make the decision flow more obvious. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 51 +++ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/dr