diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-07-30 16:37:02 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-07-31 04:37:20 +0000 |
commit | d5aaf91a7ae17cc608f23835a99e415e648c42ff (patch) | |
tree | 58575ecbad9e5bd5e281bccd9838f540380a5e26 | |
parent | dbf62710f78959df7b4bd9a6e21fb977aac6370f (diff) | |
download | chrome-ec-d5aaf91a7ae17cc608f23835a99e415e648c42ff.tar.gz |
samus_pd: increase stack size for pd tasks
Increase stack size to account for pd communication errors. With
lots of pd communication errors, I see a max stack usage of 520
bytes, which is larger than the old stack size of 488 and was
causing stack overflows.
BUG=none
BRANCH=none
TEST=load onto samus and generate pd errors by plugging in an
unpowered zinger (samus sends source cap every 100ms, but no
response). measure task usage.
Change-Id: Iab2b0f781cb39d8e1ea906de48bd5b37e229d291
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/210580
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/samus_pd/ec.tasklist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samus_pd/ec.tasklist b/board/samus_pd/ec.tasklist index 366f8a54a4..e6aff54b6d 100644 --- a/board/samus_pd/ec.tasklist +++ b/board/samus_pd/ec.tasklist @@ -20,5 +20,5 @@ TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_NOTEST(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \ - TASK_ALWAYS(PD_C0, pd_task, NULL, TASK_STACK_SIZE) \ - TASK_ALWAYS(PD_C1, pd_task, NULL, TASK_STACK_SIZE) + TASK_ALWAYS(PD_C0, pd_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(PD_C1, pd_task, NULL, LARGER_TASK_STACK_SIZE) |