aboutsummaryrefslogtreecommitdiff
path: root/platform/generic/platform.c
diff options
context:
space:
mode:
authorInochi Amaoto <inochiama@gmail.com>2024-11-11 10:27:33 +0800
committerAnup Patel <anup@brainfault.org>2024-11-11 17:40:22 +0530
commitdcb68dd17d21c80cbd340610c7eb16c33e83bf20 (patch)
tree1bb84490c24dd68de23306c0aa2e8ad61a828264 /platform/generic/platform.c
parent701948bdec90e2908517e260d06e0e5e5d0f4419 (diff)
downloadopensbi-dcb68dd17d21c80cbd340610c7eb16c33e83bf20.zip
opensbi-dcb68dd17d21c80cbd340610c7eb16c33e83bf20.tar.gz
opensbi-dcb68dd17d21c80cbd340610c7eb16c33e83bf20.tar.bz2
platform: ensure enough heap size with debug triggers extension
DBTR introduce a big heap allocation to store hart state, this is allocated percpu and needs big space when CPU number is high. Increase the percpu part to fix this problem, and decrease the fixed part to avoid too big heap size. Fixes: 97f234f (lib: sbi: Introduce the SBI debug triggers extension support) Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Reviewed-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/generic/platform.c')
0 files changed, 0 insertions, 0 deletions