diff options
author | YH Huang <yh.huang@mediatek.com> | 2016-03-31 22:38:04 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-11 04:14:59 -0700 |
commit | a3341ee7e9bf93e3757684816b8319ae726d2044 (patch) | |
tree | d28661a3bcc434ca336fb023da01ce9856b596a9 /board | |
parent | 2c26cad2ad223490d1adc7909fbdb317cc5c2c23 (diff) | |
download | chrome-ec-a3341ee7e9bf93e3757684816b8319ae726d2044.tar.gz |
oak: increase HOSTCMD task stack size
Use LARGER_TASK_STACK_SIZE to increase stack size to 640 bytes.
Check HOSTCMD stack usage with "taskinfo" command while running
the suspend/resume stress test.
8 R HOSTCMD 00000001 21.133553 496/640
It exceeds 488 bytes of TASK_STACK_SIZE.
BUG=chrome-os-partner:51773
BRANCH=none
TEST=enter "suspend_stress_test -i spi32766.0" in AP to do
suspend test. System won't do cold reboot which is cause by
"Stack overflow in HOSTCMD task!".
Change-Id: Ic5edebc6b77637ca2c648798398e3f24bc87ca27
Signed-off-by: YH Huang <yh.huang@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/336593
Reviewed-by: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/oak/ec.tasklist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/oak/ec.tasklist b/board/oak/ec.tasklist index dcc2e34c06..40a9f91bf6 100644 --- a/board/oak/ec.tasklist +++ b/board/oak/ec.tasklist @@ -25,7 +25,7 @@ TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_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_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS(ALS, als_task, NULL, TASK_STACK_SIZE) \ |