[PATCH v2 1/1] riscv: alloc space exhausted

Rick Chen rickchen36 at gmail.com
Wed Apr 6 02:51:53 CEST 2022


> From: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Sent: Tuesday, April 05, 2022 10:47 PM
> To: Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>; Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>
> Cc: u-boot at lists.denx.de; Tom Rini <trini at konsulko.com>; Fabio Estevam <festevam at gmail.com>; Heinrich Schuchardt <heinrich.schuchardt at 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 at 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 at andestech.com>


More information about the U-Boot mailing list