dma-allow-dma_get_cache_alignment-to-be-overridden-by-the-arch-code.patch removed from -mm tree
The quilt patch titled
Subject: dma: allow dma_get_cache_alignment() to be overridden by the arch code
has been removed from the -mm tree. Its filename was
dma-allow-dma_get_cache_alignment-to-be-overridden-by-the-arch-code.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Catalin Marinas <[email protected]>
Subject: dma: allow dma_get_cache_alignment() to be overridden by the arch code
Date: Mon, 12 Jun 2023 16:31:46 +0100
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()).
---
include/linux/dma-mapping.h | 2 ++ 1 file changed, 2 insertions(+)
include/linux/dma-mapping.h renamed from include/linux/dma-mapping.h~dma-allow-dma_get_cache_alignment-to-be-overridden-by-the-arch-code +2 -0
@@ -544,6 +544,7 @@ static inline int dma_set_min_align_maskreturn 0 ; } +#ifndef dma_get_cache_alignmentstatic inline int dma_get_cache_alignment (void ) {#ifdef ARCH_HAS_DMA_MINALIGN
@@ -551,6 +552,7 @@ static inline int dma_get_cache_alignmen#endif return 1; } +#endif static inline void *dmam_alloc_coherent (struct device *dev,size_t size,dma_addr_t *dma_handle,gfp_t gfp)
_
Patches currently in -mm which might be from [email protected] are