-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformI2SApplies to I2S bus for codec connectionApplies to I2S bus for codec connectionP1Blocker bugs or important featuresBlocker bugs or important featuresTGLApplies to Tiger LakeApplies to Tiger LakebugSomething isn't working as expectedSomething isn't working as expectedmulticoreIssues observed when not only core#0 is used.Issues observed when not only core#0 is used.multicore-3coresIssues observed when 3 cores are used.Issues observed when 3 cores are used.
Milestone
Description
Describe the bug
multiple-pipeline test failed with DSP Exception. dmesg has ipc error with MOD_SET_DX.
ADLP_RVP_NOCODEC and TGLU_RVP_NOCODEC has same/similar issue.
[ 616.335232] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx : 0x47000000|0x0: MOD_SET_DX [data size: 8]
[ 616.335728] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx reply: 0x67000006|0x0: MOD_SET_DX
[ 616.335730] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: FW reported error: 6 - Unknown error while processing the request
[ 616.335869] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc error for msg 0x47000000|0x0
[ 616.335875] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to disable target core: 2 for widget pipeline.6
[ 616.335878] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to free connected widgets
[ 616.335882] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_free on 0000:00:1f.3: -22
mtrace shows FATAL EXCEPTION
[ 51.966658] <inf> ipc: ipc_cmd: rx : 0x47000000|0x0
[ 51.966756] <err> ipc: ipc4_module_process_dx: failed to disable core 2
[ 51.966766] <err> ipc: ipc_cmd: ipc4: MODULE_MSG failed with err 6
ASSERTION FAIL [k_sched_current_thread_query()->base.sched_locked != 0U] @ /srv/home/jenkins/workspace/sof_config_build@2/zephyr/kernel/sched.c:1117
[ 51.967073] <err> os: xtensa_excint1_c: ** FATAL EXCEPTION
ASSERTION FAIL [z_spin_lock_valid(l)] @ /srv/home/jenkins/workspace/sof_config_build@2/zephyr/include/zephyr/spinlock.h:136
[ 51.967153] <err> os: xtensa_excint1_c: ** (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:4 CALLINC:2)
[ 51.967373] <err> os: xtensa_excint1_c: ** (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:10 CALLINC:2)
[ 51.967585] <err> os: xtensa_excint1_c: ** (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:0 CALLINC:2)
[ 51.967828] <err> os: xtensa_excint1_c: ** (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:6 CALLINC:2)
[ 51.967985] <err> os: xtensa_excint1_c: ** (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:12 CALLINC:2)
[ 51.968188] <err> os: xtensa_excint1_c: ** (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:2 CALLINC:2)
[ 51.968425] <err> os: xtensa_excint1_c: ** (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:8 CALLINC:2)
Invalid spinlock 0x9e0b8518
Invalid spinlock 0x9e0b8518
Invalid spinlock 0x9e0b8518
Invalid spinlock 0x9e0b8518
ASSERTION FAIL [z_spin_lock_valid(l)] @ /srv/home/jenkins/workspace/sof_config_build@2/zephyr/include/zephyr/spinlock.h:136
ASSERTION FAIL [z_spin_lock_valid(l)] @ /srv/home/jenkins/workspace/sof_config_build@2/zephyr/include/zephyr/spinlock.h:136
ASSERTION FAIL [z_spin_lock_valid(l)] @ /srv/home/jenkins/workspace/sof_config_build@2/zephyr/include/zephyr/spinlock.h:136
To Reproduce
TPLG=/lib/firmware/intel/development/sof-adl-nocodec.tplg MODEL=ADLP_RVP_NOCODEC-ipc4 SOF_TEST_INTERVAL=5 ~/sof-test/test-case/multiple-pipeline.sh -f a -c 20 -l 50
Reproduction Rate
Need some iteration but 100%
Environment
First broken daily build,
- SOF Build Result: 1379
- SOF Branch: main
- SOF Commit: 9eae757
- Zephyr Commit: 26002b060708
The TPLG has multicore support.

Last good daily build,
- SOF Build Result: 1366
- SOF Branch: main
- SOF Commit: b7d7fb0
- Zephyr Commit: 26002b060708
The TPLG doesn't have multicore support.

NOTE: If I just replace the tplg from good build, this is not reproducible.
This PR #8240 makes multicore part of default nocodec topology and causes the problem.
Screenshots or console output
Metadata
Metadata
Assignees
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformI2SApplies to I2S bus for codec connectionApplies to I2S bus for codec connectionP1Blocker bugs or important featuresBlocker bugs or important featuresTGLApplies to Tiger LakeApplies to Tiger LakebugSomething isn't working as expectedSomething isn't working as expectedmulticoreIssues observed when not only core#0 is used.Issues observed when not only core#0 is used.multicore-3coresIssues observed when 3 cores are used.Issues observed when 3 cores are used.