From 46c2dbdffcd1c7128356619eb0c9f60385b71ca9 Mon Sep 17 00:00:00 2001 From: philipchen Date: Wed, 19 Apr 2017 17:33:41 -0700 Subject: [PATCH] scarlet: Bump hostcmd task stack size My Scarlet crashed twice when I went to 'chrome://system'. Meanwhile I saw this message on the ec console: 'Stack overflow in HOSTCMD task!' Apparently we need something like this: https://chromium-review.googlesource.com/#/c/446116/ BUG=b:62307687 BRANCH=gru TEST=build and flash a Scarlet, the device stay alive when going to 'chrome://system' Change-Id: I9f16a2cf531abe6293f3fcdd9704d770c170cf16 Reviewed-on: https://chromium-review.googlesource.com/482571 Commit-Queue: Philip Chen Tested-by: Philip Chen Reviewed-by: Alexandru M Stan Reviewed-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/524986 Commit-Ready: Philip Chen Reviewed-by: Philip Chen --- board/scarlet/ec.tasklist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/scarlet/ec.tasklist b/board/scarlet/ec.tasklist index 2dba978535..03fe726b90 100644 --- a/board/scarlet/ec.tasklist +++ b/board/scarlet/ec.tasklist @@ -23,7 +23,7 @@ TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \ TASK_NOTEST(PDCMD, pd_command_task, NULL, LARGER_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(PD_C0, pd_task, NULL, LARGER_TASK_STACK_SIZE)