[PATCH] arm64: dma: Drop cache invalidation from arch_dma_prep_coherent()
Catalin Marinas
catalin.marinas at arm.com
Thu Sep 22 13:02:05 PDT 2022
On Tue, 23 Aug 2022 13:21:11 +0100, Will Deacon wrote:
> arch_dma_prep_coherent() is called when preparing a non-cacheable region
> for a consistent DMA buffer allocation. Since the buffer pages may
> previously have been written via a cacheable mapping and consequently
> allocated as dirty cachelines, the purpose of this function is to remove
> these dirty lines from the cache, writing them back so that the
> non-coherent device is able to see them.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: dma: Drop cache invalidation from arch_dma_prep_coherent()
https://git.kernel.org/arm64/c/c44094eee32f
--
Catalin
More information about the linux-arm-kernel
mailing list