From 103631e04c08d8f21a059f5521924931efe5ca44 Mon Sep 17 00:00:00 2001 From: Xiaoguang Xing Date: Wed, 28 Aug 2024 17:20:50 +0800 Subject: [PATCH] Fix: add heap size to fix cpu 59-63 offline when linux smp bringup Signed-off-by: Xiaoguang Xing --- include/sbi/sbi_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sbi/sbi_platform.h b/include/sbi/sbi_platform.h index 7b3ac4bf07..15dffade22 100644 --- a/include/sbi/sbi_platform.h +++ b/include/sbi/sbi_platform.h @@ -152,7 +152,7 @@ struct sbi_platform_operations { /** Platform default heap size */ #define SBI_PLATFORM_DEFAULT_HEAP_SIZE(__num_hart) \ - (0x8000 + 0x800 * (__num_hart)) + (0x8000 + 0x1000 * (__num_hart)) /** Representation of a platform */ struct sbi_platform {