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

Reply via email to