From 9d9b9abe3d8d4d7a430461025522aebf4cdae5ce Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Thu, 23 Mar 2017 14:41:03 +0800 Subject: hammer: Increase HOOK stack size After running an update, we used to be dangerously close to exhausting stack space, let's increase its size. 1 HOOKS 00000000 39.906350 476/488 BRANCH=none BUG=b:35587171 TEST=Update FW using usb_updater2, 3 times in a row, without reboot, no more panics. Change-Id: Ia1559d7c4097b8d3179a6fa2f38bef126cb8055e Reviewed-on: https://chromium-review.googlesource.com/458319 Commit-Ready: Nicolas Boichat Tested-by: Nicolas Boichat Reviewed-by: Vincent Palatin --- board/hammer/ec.tasklist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/hammer/ec.tasklist b/board/hammer/ec.tasklist index 3cb68e222a..de4e75608b 100644 --- a/board/hammer/ec.tasklist +++ b/board/hammer/ec.tasklist @@ -17,7 +17,7 @@ * 's' is the stack size in bytes; must be a multiple of 8 */ #define CONFIG_TASK_LIST \ - TASK_ALWAYS(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \ + TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(TOUCHPAD, elan_tp_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) -- cgit v1.2.1