ARC: 64BIT: Kconfig increase stacks sizes for 64bit platforms
Increase default stacks sizes for 64bit platforms where it is
required.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 1f260ff..5b0dff0 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -330,7 +330,8 @@
config ARC_EXCEPTION_STACK_SIZE
int "ARC exception handling stack size"
- default 768
+ default 768 if !64BIT
+ default 2048 if 64BIT
help
Size in bytes of exception handling stack which is at the top of
interrupt stack to get smaller memory footprint because exception
@@ -353,11 +354,26 @@
config MAIN_STACK_SIZE
default 4096 if 64BIT
-config TEST_EXTRA_STACKSIZE
+config ISR_STACK_SIZE
+ default 4096 if 64BIT
+
+config SYSTEM_WORKQUEUE_STACK_SIZE
+ default 4096 if 64BIT
+
+config IDLE_STACK_SIZE
default 1024 if 64BIT
+config IPM_CONSOLE_STACK_SIZE
+ default 2048 if 64BIT
+
+config TEST_EXTRA_STACKSIZE
+ default 2048 if 64BIT
+
config CMSIS_THREAD_MAX_STACK_SIZE
- default 1024 if 64BIT
+ default 2048 if 64BIT
config CMSIS_V2_THREAD_MAX_STACK_SIZE
- default 1024 if 64BIT
+ default 2048 if 64BIT
+
+config CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE
+ default 2048 if 64BIT