--- zzzz-none-000/linux-4.4.60/arch/mips/include/asm/mach-generic/kmalloc.h 2017-04-08 07:53:53.000000000 +0000 +++ dragonfly-4020-701/linux-4.4.60/arch/mips/include/asm/mach-generic/kmalloc.h 2018-11-08 13:36:17.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 */