[PATCH] kernel: Disable CONFIG_DMA_PERNUMA_CMA by default

Linus Walleij linus.walleij at linaro.org
Thu Apr 15 00:11:09 BST 2021


This CMA memory allocation option only applies to NUMA
(Non-Uniform Memory Access) systems which are seldom
the kind of systems that OpenWRT address.

It is safe to assume that any system that need this
option would turn it on locally.

Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 target/linux/generic/config-5.10 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10
index 024d65ba7c8d..78c8cb72f89f 100644
--- a/target/linux/generic/config-5.10
+++ b/target/linux/generic/config-5.10
@@ -1357,6 +1357,7 @@ CONFIG_DMA_DECLARE_COHERENT=y
 # CONFIG_DMA_JZ4780 is not set
 CONFIG_DMA_NONCOHERENT_MMAP=y
 # CONFIG_DMA_NOOP_OPS is not set
+# CONFIG_DMA_PERNUMA_CMA is not set
 # CONFIG_DMA_SHARED_BUFFER is not set
 # CONFIG_DMA_VIRT_OPS is not set
 # CONFIG_DM_CACHE is not set
-- 
2.29.2




More information about the openwrt-devel mailing list