Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kv2019i opened this issue Mar 13, 2024 · 1 comment
Closed
Assignees
Labels
ADL Applies to Alder Lake platform bug Something isn't working as expected P1 Blocker bugs or important features TGL Applies to Tiger Lake Zephyr Issues only observed with Zephyr integrated

Comments

@kv2019i
Copy link
Collaborator

kv2019i commented Mar 13, 2024

Describe the bug
Follow-up to #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 kv2019i added bug Something isn't working as expected P1 Blocker bugs or important features Zephyr Issues only observed with Zephyr integrated TGL Applies to Tiger Lake ADL Applies to Alder Lake platform labels Mar 13, 2024
@kv2019i kv2019i self-assigned this Mar 13, 2024
kv2019i added a commit to kv2019i/sof that referenced this issue Mar 15, 2024
Multicore is not working correctly for Intel cAVS2.5 in Zephyr
upstream and the fixing will take a longer time, so disable
this feature in nocodec configuration.

Link: thesofproject#8942
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
kv2019i added a commit that referenced this issue Mar 15, 2024
Multicore is not working correctly for Intel cAVS2.5 in Zephyr
upstream and the fixing will take a longer time, so disable
this feature in nocodec configuration.

Link: #8942
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i
Copy link
Collaborator Author

kv2019i commented Apr 3, 2024

Fixed via merge of #8968

@kv2019i kv2019i closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADL Applies to Alder Lake platform bug Something isn't working as expected P1 Blocker bugs or important features TGL Applies to Tiger Lake Zephyr Issues only observed with Zephyr integrated
Projects
None yet
Development

No branches or pull requests

1 participant