
LoongArch inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IBQ4JL CVE: NA -------------------------------- When CONFIG_CMA_SIZE_MBYTES is not zero and its value is small, error log appear in dmesg as following: [12689.920994][ T2178] cma: cma_alloc: reserved: alloc failed, req-size: 4 pages, ret: -12 [12689.934128][ T2178] cma: cma_alloc: reserved: alloc failed, req-size: 4 pages, ret: -12 So set CONFIG_CMA_SIZE_MBYTES to 0 to hide the error log. Signed-off-by: Ming Wang <wangming01@loongson.cn> Signed-off-by: Hongchen Zhang <zhanghongchen@loongson.cn> Change-Id: I135493f2f3aaaa99135fd25a9597e6109b23d5a5 --- arch/loongarch/configs/loongson3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig index 392ea7437a09..ed75f2f6afcb 100644 --- a/arch/loongarch/configs/loongson3_defconfig +++ b/arch/loongarch/configs/loongson3_defconfig @@ -2185,6 +2185,7 @@ CONFIG_CRC_T10DIF=y CONFIG_CRC_ITU_T=y CONFIG_CRC7=m CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=0 CONFIG_PRINTK_TIME=y CONFIG_PRINTK_CALLER=y CONFIG_BOOT_PRINTK_DELAY=y -- 2.43.0