]> 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)
commitfe48dd8172cd885fc84d9480431d5dad4f2fe5ad
treea4f53323171d4d7f76b9834b1648f9ddcd8234e6
parent502fc58daba087b08f7965870ce9305dbb040012
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