ARM/dma-mapping: use the generic versions of dma_to_phys/phys_to_dma by default
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Apr 2022 08:00:32 +0000 (10:00 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 7 Jul 2022 16:18:57 +0000 (18:18 +0200)
commitaf6f23b88e9508f1cb8d0af008bb175019428f73
treea4f53323171d4d7f76b9834b1648f9ddcd8234e6
parentf9774cfd5062d69dc8ba522369638f919c35391e
ARM/dma-mapping: use the generic versions of dma_to_phys/phys_to_dma by default

Only the footbridge platforms provide their own DMA address translation
helpers, so switch to the generic version for all other platforms, and
consolidate the footbridge implementation to remove two levels of
indirection.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Marc Zyngier <maz@kernel.org>
arch/arm/Kconfig
arch/arm/include/asm/dma-direct.h
arch/arm/include/asm/memory.h
arch/arm/mach-footbridge/Kconfig
arch/arm/mach-footbridge/common.c
arch/arm/mach-footbridge/include/mach/dma-direct.h [new file with mode: 0644]
arch/arm/mach-footbridge/include/mach/memory.h