summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorQingfang Deng <qingfang.deng@linux.dev>2026-04-28 11:25:40 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2026-05-26 17:35:37 +0300
commit1dc85756b759c3ecd21a22b0aef84ed41ddc7596 (patch)
tree4b6ac8db10461c1ea2915fd5e64621f4fc84ee40 /include
parenteb013e9685e2ec6e608bbeb79e7ce98782fdcc63 (diff)
downloadlinux-1dc85756b759c3ecd21a22b0aef84ed41ddc7596.tar.xz
MIPS: ralink: reduce ARCH_DMA_MINALIGN
Currently, Ralink 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 16 bytes for RT288X and 32 bytes for other Ralink SoCs. Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions