[PATCH] arm64: dma: Drop cache invalidation from arch_dma_prep_coherent()
Christoph Hellwig
hch at lst.de
Wed Sep 7 02:04:34 PDT 2022
On Wed, Aug 24, 2022 at 11:00:02PM +0100, Catalin Marinas wrote:
> (I was wondering why not just invalidate without clean but it could be
> that the allocated memory was zeroed and we want that to make it to the
> PoC)
The memory is zerod after arch_dma_prep_coherent. So a pure invalidate
seems like the right thing to do here.
More information about the linux-arm-kernel
mailing list