aboutsummaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt2022-04-05 16:47:15 +0200
committerLeo Yu-Chi Liang2022-04-06 10:58:13 +0800
commit776e8aca0bad2900dc9c12b87dedb732a9f8e39b (patch)
tree6f2ab99fc6e154065919a3741b3fb53ca3da9458 /Kconfig
parent22e324c6381a7c59b3ae6e6bf860f34e4c7b3fe8 (diff)
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> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kconfig b/Kconfig
index 112745440b5..678317e4d3e 100644
--- a/Kconfig
+++ b/Kconfig
@@ -248,7 +248,7 @@ config SYS_MALLOC_F_LEN
hex "Size of malloc() pool before relocation"
depends on SYS_MALLOC_F
default 0x1000 if AM33XX
- default 0x4000 if SANDBOX
+ default 0x4000 if SANDBOX || RISCV
default 0x2000 if (ARCH_IMX8 || ARCH_IMX8M || ARCH_MX7 || \
ARCH_MX7ULP || ARCH_MX6 || ARCH_MX5 || \
ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \