]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3ddbe3cb55e8cbe53a51237324f706746d3d7d2
treea4f53323171d4d7f76b9834b1648f9ddcd8234e6
parent6060b15c2a459eb1cf27781b62fcb1e89c557768
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