]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: alloc space exhausted
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 5 Apr 2022 14:47:15 +0000 (16:47 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 6 Apr 2022 02:58:13 +0000 (10:58 +0800)
commit776e8aca0bad2900dc9c12b87dedb732a9f8e39b
tree6f2ab99fc6e154065919a3741b3fb53ca3da9458
parent22e324c6381a7c59b3ae6e6bf860f34e4c7b3fe8
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>
Kconfig
arch/riscv/Kconfig