]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
MIPS: ath79: reduce ARCH_DMA_MINALIGN
authorRosen Penev <rosenp@gmail.com>
Wed, 27 May 2026 22:25:04 +0000 (15:25 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 15 Jun 2026 10:12:24 +0000 (12:12 +0200)
commitaeaa898780a4edb5802731e454caae6fb2ba33cb
tree79e48e0d453326a320cabe80db2e18b870a79144
parent5ae158d31d02ff0419e9e127659f71a85f36a70e
MIPS: ath79: reduce ARCH_DMA_MINALIGN

Currently, ath79 SoCs use the default ARCH_DMA_MINALIGN value of 128
bytes defined in mach-generic. This is excessive for these platforms
and leads to significant memory waste in kmalloc.

Override ARCH_DMA_MINALIGN to use L1_CACHE_BYTES, which is 32 bytes for
ath79 SoCs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/mach-ath79/kmalloc.h [new file with mode: 0644]