thesofproject / sof

Sound Open Firmware
Other
547 stars 313 forks source link

[BUG][IPC4] Failed to create module copier.SSP.8.1 when testing multiple pipeline #6172

Closed keqiaozhang closed 2 years ago

keqiaozhang commented 2 years ago

Describe the bug Observed this issue in our daily test with driver IPC4 + SOF Zephyr IPC4 firmware on ADLP-nocodec platform. CI test ID:14754 the error message:

[  168.465046] kernel: snd_sof:sof_widget_setup: sof-audio-pci-intel-tgl 0000:00:1f.3: widget pipeline.8 setup complete
[  168.465047] kernel: snd_sof:sof_ipc4_widget_setup: sof-audio-pci-intel-tgl 0000:00:1f.3: Create widget copier.SSP.8.1 instance 6 - pipe 8 - core 0
[  168.465057] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx      : 0x40060004|0x80029: MOD_INIT_INSTANCE [data size: 164]
[  168.966655] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc timed out for 0x40060004|0x80029
[  168.966675] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to create module copier.SSP.8.1
[  168.966695] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx      : 0x12080000|0x0: GLB_DELETE_PIPELINE
[  168.966948] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx reply: 0x32000000|0x0: GLB_DELETE_PIPELINE
[  168.967084] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx done : 0x12080000|0x0: GLB_DELETE_PIPELINE
[  168.967105] kernel: snd_sof:sof_widget_free: sof-audio-pci-intel-tgl 0000:00:1f.3: widget pipeline.8 freed
[  168.967113] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to set up connected widgets
[  168.967436] kernel: snd_sof:sof_pcm_trigger: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: trigger stream 0 dir 1 cmd 1
[  168.967465] kernel: snd_sof_intel_hda_common:hda_dsp_stream_trigger: sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x80]=0x14001e successful
[  168.967570] kernel: snd_sof:sof_ipc4_set_pipeline_state: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4 set pipeline 7 state 3
[  168.967582] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx      : 0x13070003|0x0: GLB_SET_PIPELINE_STATE
[  168.967816] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx reply: 0x33000009|0x0: GLB_SET_PIPELINE_STATE
[  168.967843] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: FW reported error: 9 - Specified resource not found
[  168.967968] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc error for msg 0x13070003|0x0
[  168.967987] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to pause pipeline 7
[  168.967994] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at soc_component_trigger on 0000:00:1f.3: -22
[  168.968005] kernel:  Port0: ASoC: trigger FE cmd: 1 failed: -22

image

To Reproduce TPLG=/lib/firmware/intel/avs-tplg/cavs-tgl-nocodec.tplg MODEL=ADLP_RVP_NOCODEC_IPC4 ~/sof-test/test-case/multiple-pipeline.sh -f p -l 50

Reproduction Rate almost 100%

Environment Kernel Branch: topic/sof-dev Kernel Commit: d8dba897d903 SOF Branch: main SOF Commit: 44a5200c8762 Zephyr Commit: zephyr-v3.1.0-3042-g8e55e59c5917

dmesg.txt

keqiaozhang commented 2 years ago

Closing this issue as not seen this issue in recent IPC4 tests.