]> git.baikalelectronics.ru Git - uboot.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)
commite915e7c0abc254732b155a3eab5559cefbb0b10f
tree6f2ab99fc6e154065919a3741b3fb53ca3da9458
parentcc11a93a1ae25a3bf671600b26995a43f43b81a6
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