--- zzzz-none-000/linux-4.4.60/arch/mips/include/asm/mach-generic/kmalloc.h 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/arch/mips/include/asm/mach-generic/kmalloc.h 2021-02-04 17:41:59.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 */