[PATCH v4 02/15] dma: Allow dma_get_cache_alignment() to return the smaller cache_line_size()
Catalin Marinas
catalin.marinas at arm.com
Sat May 20 03:34:32 PDT 2023
On Sat, May 20, 2023 at 08:14:41AM +0200, Christoph Hellwig wrote:
> On Sat, May 20, 2023 at 07:42:09AM +0200, Christoph Hellwig wrote:
> > yet another abstraction? That might also be able to repace
> > ARCH_DMA_MINALIGN in follow on cleanup.
>
> Looking at the rest of the series, this part is obviously not going to
> work..
ARCH_DMA_MINALIGN needs to remain a constant (taking over from the
original ARCH_KMALLOC_MINALIGN). But the dma_get_cache_alignment() can
indeed be overridden by the arch code, it's a good idea.
--
Catalin
More information about the linux-arm-kernel
mailing list