
From: Heinrich Schuchardt heinrich.schuchardt@canonical.com Sent: Tuesday, April 05, 2022 10:47 PM To: Rick Jian-Zhi Chen(陳建志) rick@andestech.com; Leo Yu-Chi Liang(梁育齊) ycliang@andestech.com Cc: u-boot@lists.denx.de; Tom Rini trini@konsulko.com; Fabio Estevam festevam@gmail.com; Heinrich Schuchardt heinrich.schuchardt@canonical.com Subject: [PATCH v2 1/1] riscv: alloc space exhausted
When trying to run qemu-riscv64_smode_defconfig with 32 harts booting fails. The debug UART shows a message
alloc space exhausted
32 is the current maximum number of harts for machine virt in QEMU 7.0.
Raise the default for SYS_MALLOC_F_LEN to 16 KiB.
Move the setting to /Kconfig where we define SYS_MALLOC_F_LEN for other architectures too.
Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
v2: move the setting to /Kconfig
Kconfig | 2 +- arch/riscv/Kconfig | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-)
Reviewed-by: Rick Chen rick@andestech.com