diff options
author | Nicolas Boichat <drinkcat@google.com> | 2017-03-23 14:41:03 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-03-23 06:38:01 -0700 |
commit | 9d9b9abe3d8d4d7a430461025522aebf4cdae5ce (patch) | |
tree | f9034186ed1d3758aaf326c473deb1488d0964a5 | |
parent | 9e931878cad2e55094713d7c7da4867533e40f4b (diff) | |
download | chrome-ec-9d9b9abe3d8d4d7a430461025522aebf4cdae5ce.tar.gz |
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 <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/hammer/ec.tasklist | 2 |
1 files changed, 1 insertions, 1 deletions
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) |