[PATCH v5 02/15] dma: Allow dma_get_cache_alignment() to be overridden by the arch code

Christoph Hellwig hch at lst.de
Thu May 25 06:59:31 PDT 2023


On Wed, May 24, 2023 at 06:18:51PM +0100, Catalin Marinas wrote:
> On arm64, ARCH_DMA_MINALIGN is larger than most cache line size
> configurations deployed. Allow an architecture to override
> dma_get_cache_alignment() in order to return a run-time probed value
> (e.g. cache_line_size()).
> 
> Signed-off-by: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Christoph Hellwig <hch at lst.de>
> Cc: Robin Murphy <robin.murphy at arm.com>
> Cc: Will Deacon <will at kernel.org>

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the linux-arm-kernel mailing list