From 95a986ecad7ac67d6f7a8379f71fea7f99f87222 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Wed, 24 May 2017 16:44:31 +0800 Subject: hammer: Increase hook stack size Adding entropy takes up to 1028 bytes of stack, let's increase the stack size to 1280 bytes. BRANCH=none BUG=b:38487027 TEST=Flash hammer. On host, reboot hammer to RO: usb_updater2 -r; sleep 0.5; usb_updater2 -s usb_updater2 -e (adds entropy) EC console: check that rollbackinfo shows secret is updated Change-Id: I7e2d506e0fcc3152d27ac1796db95df6b1a931d1 Reviewed-on: https://chromium-review.googlesource.com/513808 Commit-Ready: Nicolas Boichat Tested-by: Nicolas Boichat Reviewed-by: Randall Spangler --- 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 8c7974cca8..81dcca2136 100644 --- a/board/hammer/ec.tasklist +++ b/board/hammer/ec.tasklist @@ -18,7 +18,7 @@ */ #define CONFIG_TASK_LIST \ TASK_ALWAYS_RO(RWSIG, rwsig_task, NULL, 1024) \ - TASK_ALWAYS (HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS (HOOKS, hook_task, NULL, 1280) \ TASK_ALWAYS_RW(TOUCHPAD, elan_tp_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS (CONSOLE, console_task, NULL, 1024) \ TASK_NOTEST_RW(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) -- cgit v1.2.1