platform: Set per-HART stack size to 8KB in the template platform codes
authorBin Meng <bmeng.cn@gmail.com>
Fri, 13 Mar 2020 05:39:53 +0000 (22:39 -0700)
committerAnup Patel <anup@brainfault.org>
Sat, 14 Mar 2020 03:43:20 +0000 (09:13 +0530)
The template platform codes should set per-HART stack size to 8KB
to avoid possible mistakes of future platform ports.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
platform/template/platform.c

index 60b65ea..74ac9f4 100644 (file)
@@ -223,6 +223,6 @@ const struct sbi_platform platform = {
        .name                   = "platform-name",
        .features               = SBI_PLATFORM_DEFAULT_FEATURES,
        .hart_count             = 1,
-       .hart_stack_size        = 4096,
+       .hart_stack_size        = 8192,
        .platform_ops_addr      = (unsigned long)&platform_ops
 };