--- zzzz-none-000/linux-4.4.271/arch/mips/include/asm/mach-generic/kmalloc.h 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/arch/mips/include/asm/mach-generic/kmalloc.h 2023-01-11 09:25:41.000000000 +0000 @@ -3,11 +3,7 @@ #ifndef CONFIG_DMA_COHERENT -/* - * Total overkill for most systems but need as a safe default. - * Set this one if any device in the system might do non-coherent DMA. - */ -#define ARCH_DMA_MINALIGN 128 +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES #endif #endif /* __ASM_MACH_GENERIC_KMALLOC_H */