Re: [PATCH 08/21] dma-iommu: refactor iommu_dma_mmap

2019-04-09 Thread Christoph Hellwig
On Tue, Apr 09, 2019 at 04:29:07PM +0100, Robin Murphy wrote: > On 27/03/2019 08:04, Christoph Hellwig wrote: >> Move the vm_area handling into __iommu_dma_mmap, which is renamed >> to iommu_dma_mmap_remap. >> >> Inline __iommu_dma_mmap_pfn into the main function to simplify the code >> flow a

Re: [PATCH 08/21] dma-iommu: refactor iommu_dma_mmap

2019-04-09 Thread Robin Murphy
On 27/03/2019 08:04, Christoph Hellwig wrote: Move the vm_area handling into __iommu_dma_mmap, which is renamed to iommu_dma_mmap_remap. Inline __iommu_dma_mmap_pfn into the main function to simplify the code flow a bit. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 50

[PATCH 08/21] dma-iommu: refactor iommu_dma_mmap

2019-03-27 Thread Christoph Hellwig
Move the vm_area handling into __iommu_dma_mmap, which is renamed to iommu_dma_mmap_remap. Inline __iommu_dma_mmap_pfn into the main function to simplify the code flow a bit. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 50 ++- 1 file

[PATCH 08/21] dma-iommu: refactor iommu_dma_mmap

2019-02-13 Thread Christoph Hellwig
Move the vm_area handling into __iommu_dma_mmap, which is renamed to iommu_dma_mmap_remap. Inline __iommu_dma_mmap_pfn into the main function to simplify the code flow a bit. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 50 ++- 1 file