iommu/dma: Remove the flush_page callback
authorChristoph Hellwig <hch@lst.de>
Mon, 20 May 2019 07:29:27 +0000 (09:29 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 May 2019 15:31:10 +0000 (17:31 +0200)
commitaf751d4308a7c80434b5f40fd44288d33dc1962f
tree813349e9f1c6f4d87dfec1ffc31a47130ac30acd
parent185da893fab1caa458c47f032a6f53717dbae2eb
iommu/dma: Remove the flush_page callback

We now have a arch_dma_prep_coherent architecture hook that is used
for the generic DMA remap allocator, and we should use the same
interface for the dma-iommu code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
arch/arm64/mm/dma-mapping.c
drivers/iommu/dma-iommu.c
include/linux/dma-iommu.h