arm64: mm: Remove assembly DMA cache maintenance wrappers
authorWill Deacon <will@kernel.org>
Fri, 10 Jun 2022 15:12:28 +0000 (16:12 +0100)
committerWill Deacon <will@kernel.org>
Tue, 5 Jul 2022 12:06:31 +0000 (13:06 +0100)
commit7eacf1858bc86fe93b457c529a3a40e8b94d5af1
tree494c9a63a4497c850a71218fc00579e1f860d357
parent4890cc18f94979b406f95708f8cb238eb2d0e5a9
arm64: mm: Remove assembly DMA cache maintenance wrappers

Remove the __dma_{flush,map,unmap}_area assembly wrappers and call the
appropriate cache maintenance functions directly from the DMA mapping
callbacks.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220610151228.4562-3-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cacheflush.h
arch/arm64/mm/cache.S
arch/arm64/mm/dma-mapping.c