From bcab6d22dfcf358aa2fbcc9339dc2342ef3b9e7e Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Tue, 25 Aug 2015 18:58:04 -0700 Subject: [PATCH] glados: Increase stack size for powerbtn task We occasionally see stack overflows in the powerbtn task, so bump the stack size. BUG=chrome-os-partner:44202 TEST=Manual on Glados. Disable SLP_S0 GPIO interrupt, run 'reboot' on EC console, verify that stack overflow is not encountered. BRANCH=None Change-Id: I858ad50e86b998e4283a5e11d3a720212150f657 Signed-off-by: Shawn Nematbakhsh Reviewed-on: https://chromium-review.googlesource.com/295571 Reviewed-by: Aaron Durbin --- board/glados/ec.tasklist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/glados/ec.tasklist b/board/glados/ec.tasklist index b975e51679..ec413f8047 100644 --- a/board/glados/ec.tasklist +++ b/board/glados/ec.tasklist @@ -26,7 +26,7 @@ TASK_NOTEST(PDCMD, pd_command_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \ - TASK_ALWAYS(POWERBTN, power_button_task, NULL, TASK_STACK_SIZE) \ + TASK_ALWAYS(POWERBTN, power_button_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS(PD_C0, pd_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(PD_C1, pd_task, NULL, LARGER_TASK_STACK_SIZE) \