summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepti Deshatty <deepti.deshatty@intel.corp-partner.google.com>2022-04-11 13:29:12 +0530
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-12 11:04:57 +0000
commit08e095678be6939ac00116b6dabf4fae0f6566d6 (patch)
treedc17976acc4d29203831eb23581c36f23a9fab0e
parente704d68437d67d03dd5f65fe58da0e9582815e7e (diff)
downloadchrome-ec-08e095678be6939ac00116b6dabf4fae0f6566d6.tar.gz
zephyr: increase PD interrupt stack size
TASK_PD_INT_STACK_SIZE size changed from 736 to 880. Increased the size by 20%. BRANCH=none BUG=b:228815123 TEST=Verify USBC power role swap test on Nivviks Before including CL (Idle state) ec:~$ kernel stacks PD_INT_C1 (real size 736): unused 244 usage 492 / 736 (66 %) PD_INT_C0 (real size 736): unused 284 usage 452 / 736 (61 %) After including CL (Idle state) ec:~$ kernel stacks PD_INT_C1 (real size 880): unused 388 usage 492 / 880 (55 %) PD_INT_C0 (real size 880): unused 428 usage 452 / 880 (51 %) Change-Id: I9f0ef0ed48d530439265df5e3f418be350631323 Signed-off-by: Deepti Deshatty <deepti.deshatty@intel.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3581824 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Andrew McRae <amcrae@google.com>
-rw-r--r--zephyr/Kconfig.stacks4
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/Kconfig.stacks b/zephyr/Kconfig.stacks
index 6e6c336de9..88e00bb112 100644
--- a/zephyr/Kconfig.stacks
+++ b/zephyr/Kconfig.stacks
@@ -78,8 +78,8 @@ config TASK_PD_STACK_SIZE
config TASK_PD_INT_STACK_SIZE
default 1152 if SOC_SERIES_RISCV32_IT8XXX2
- default 736 if SOC_SERIES_NPCX7
- default 736 if SOC_SERIES_NPCX9
+ default 880 if SOC_SERIES_NPCX7
+ default 880 if SOC_SERIES_NPCX9
config TASK_USB_CHG_STACK_SIZE
default 1152 if SOC_SERIES_RISCV32_IT8XXX2