diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-04-05 16:47:15 +0200 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2022-04-06 10:58:13 +0800 |
commit | 776e8aca0bad2900dc9c12b87dedb732a9f8e39b (patch) | |
tree | 6f2ab99fc6e154065919a3741b3fb53ca3da9458 /arch | |
parent | 22e324c6381a7c59b3ae6e6bf860f34e4c7b3fe8 (diff) | |
download | u-boot-776e8aca0bad2900dc9c12b87dedb732a9f8e39b.zip u-boot-776e8aca0bad2900dc9c12b87dedb732a9f8e39b.tar.gz u-boot-776e8aca0bad2900dc9c12b87dedb732a9f8e39b.tar.bz2 |
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 'arch')
-rw-r--r-- | arch/riscv/Kconfig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index ba29e70..78e964d 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -195,9 +195,6 @@ config ANDES_PLIC The Andes PLIC block holds memory-mapped claim and pending registers associated with software interrupt. -config SYS_MALLOC_F_LEN - default 0x1000 - config SMP bool "Symmetric Multi-Processing" depends on SBI_V01 || !RISCV_SMODE |