From 1a5fd44c311b6812e2ced3306cec54ce77f508cf Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Fri, 25 Mar 2016 11:54:40 -0700 Subject: [PATCH] chell: increase HOSTCMD task stack size Some host commands might trigger a stack overflow on HOSTCMD, let's increase the stack size for this task. Signed-off-by: Vincent Palatin BRANCH=glados BUG=chrome-os-partner:51633 TEST=run 'ectool usbpd 0 sink' and verify stack canary with 'taskinfo' Change-Id: Ida6d1656bd14c6a728a4d6624b4fe10fe4b02423 Reviewed-on: https://chromium-review.googlesource.com/334892 Reviewed-by: Todd Broch Tested-by: Vincent Palatin Commit-Queue: Vincent Palatin Reviewed-by: Shawn N (cherry picked from commit 952b20a8d7894e1c72c67ada2d25298157f51b79) Reviewed-on: https://chromium-review.googlesource.com/337306 Commit-Ready: Shawn N Tested-by: Shawn N --- board/chell/ec.tasklist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/chell/ec.tasklist b/board/chell/ec.tasklist index 8ad79e0f3c..4873c4d28f 100644 --- a/board/chell/ec.tasklist +++ b/board/chell/ec.tasklist @@ -24,7 +24,7 @@ TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \ TASK_NOTEST(PDCMD, pd_command_task, NULL, TASK_STACK_SIZE) \ - TASK_ALWAYS(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ + TASK_ALWAYS(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(POWERBTN, power_button_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) \