Commit ef9624f
fwk: cypd: increase the cypd stack size to 1280
When I used the console command "i2ctrace enable 2 0x40", the EC
log print the panic message:
ec:~> i2ctrace enable 2 0x40
i2c: 2:0x40 wr 0x06 0x00 rd 0x04
ec:~> : r0/a1: 0x00000002 r1/a2: 0xf0f0f0f0 r2/a3: 0x200c63d0
E: r3/a4: 0x00000002 r12/ip: 0x00000006 r14/lr: 0xfffffffd
E: xpsr: 0x01000031
E: r4/v1: 0x00000004 r5/v2: 0x00000004 r6/v3: 0x200c40d8
E: r7/v4: 0x200c56f4 r8/v5: 0x00000000 r9/v6: 0x00000002
E: r10/v7: 0x00000001 r11/v8: 0x200c6608 psp: 0x200c63c0
E: EXC_RETURN: 0x0
E: Faulting instruction address (r15/pc): 0x100a0a80
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
E: Fault during interrupt handling
E: Current thread: 0x200c2380 (CYPD)
This change increases the cypd stack size to 1280 to avoid the
stack overflow.
BRANCH=fwk-main
BUG=enable pd chip i2ctrace will trigger the stack overflow
TEST=i2ctrace enable 2 0x40 can trace the i2c log normally
Signed-off-by: Josh Tsai <Josh_Tsai@compal.com>
(cherry picked from commit 04f8ddf873c314a6aabad9f353b9b9dba0d98183)1 parent eb70edf commit ef9624f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments