sof icon indicating copy to clipboard operation
sof copied to clipboard

[BUG] DSP panic on core1/2/3 with Zephyr upstream main on Intel cAVS2.5

Open kv2019i opened this issue 1 year ago • 0 comments

Describe the bug Follow-up to https://github.com/thesofproject/sof/issues/8908 With the assert fixed on MTL, we still see the DSP panic hit on cAVS2.5, but in different scenario (at power-down).

To Reproduce Test recipe and versions at https://sof-ci.01.org/sofpr/PR8938/build3371/devicetest/index.html

Reproduction Rate +50%

How often does the issue happen ? i.e. 1/10 (once in ten attempts), 1/1000 or all the time. Does the reproduction rate vary with any other configuration or user action, if so please describe and show the new reproduction rate.

Expected behavior No DSP panics

A clear and concise description of what you expected to happen.

Impact What impact does this issue have on your progress (e.g., annoyance, showstopper)

Environment Test recipe and versions at https://sof-ci.01.org/sofpr/PR8938/build3371/devicetest/index.html

Screenshots or console output

[  419.506138] <inf> src: src_reset: comp:0 0x8 src_reset()
[  419.506753] <inf> ipc: ipc_cmd: rx	: 0x46000002|0x3
[  419.507338] <inf> ipc: ipc_cmd: rx	: 0x12000000|0x0
[  419.507408] <inf> dma: dma_put: dma_put(), dma = 0x9e0a5fd0, sref = 0
[  419.507636] <inf> src: src_free: comp:0 0x8 src_free()
[  419.508350] <inf> ipc: ipc_cmd: rx	: 0x12010000|0x0
[  419.508630] <inf> dma: dma_put: dma_put(), dma = 0x9e0a5ee0, sref = 0
[  419.508646] <inf> dai_intel_ssp: dai_ssp_pm_runtime_dis_ssp_power: SSP2
[  419.509351] <inf> ipc: ipc_cmd: rx	: 0x47000000|0x0
[  419.514611] <inf> ipc: ipc_cmd: rx	: 0x47000000|0x0
ASSERTION FAIL [!z_smp_cpu_mobile()] @ /srv/home/jenkins/workspace/sof_config_build@3/zephyr/subsys/pm/pm.c:133
[  419.514735] <err> os: print_fatal_exception:  ** FATAL EXCEPTION
[  419.514745] <err> os: print_fatal_exception:  ** CPU 2 EXCCAUSE 63 (zephyr exception)
[  419.514771] <err> os: print_fatal_exception:  **  PC 0xbe05cb97 VADDR (nil)
[  419.514780] <err> os: print_fatal_exception:  **  PS 0x60220
[  419.514796] <err> os: print_fatal_exception:  **    (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:2 CALLINC:2)
[  419.514808] <err> os: xtensa_dump_stack:  **  A0 0xbe015668  SP 0xbe0b84d0  A2 0x4  A3 0xbe0b84e0
[  419.514820] <err> os: xtensa_dump_stack:  **  A4 0xbe0b84c0  A5 0x4  A6 (nil)  A7 (nil)
[  419.514830] <err> os: xtensa_dump_stack:  **  A8 0xbe014829  A9 0xbe0b8440 A10 0xbe0805f8 A11 0xbe0b84e0
[  419.514841] <err> os: xtensa_dump_stack:  ** A12 0xbe0b84c0 A13 0x4 A14 (nil) A15 (nil)
[  419.514853] <err> os: xtensa_dump_stack:  ** LBEG 0xbe017990 LEND 0xbe01799f LCOUNT 0xbe017ee8
[  419.514861] <err> os: xtensa_dump_stack:  ** SAR 0xe
[  419.514871] <err> os: xtensa_dump_stack:  **  THREADPTR (nil)

Backtrace:0xbe05cb94:0xbe0b84d0 0xbe015665:0xbe0b84e0 0xbe018ab6:0xbe0b8500 0xbe018d53:0xbe0b8520 0xbe0597e0:0xbe0b8550 0xbe0148d2:0xbe0b8570 

[  419.514971] <err> os: z_fatal_error: Current thread: 0x9e0bdc40 (unknown)
[  419.514961] <err> os: z_fatal_error: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 2

kv2019i avatar Mar 13 '24 15:03 kv2019i