Describe the bug
When playing audio on adlp zephyr platform, it runs to:
[ 126.590714] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x40070000 (msg/reply size: 12/12): -22
[ 126.590740] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to enable target core for widget SSP0.OUT
[ 126.590750] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed setting up DAI widget SSP0.OUT
[ 126.590761] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on SSP0 Pin: -22
[ 126.590780] kernel: NoCodec-0: ASoC: soc_pcm_hw_params() failed (-22)
[ 126.590792] kernel: Port0: ASoC: dpcm_fe_dai_hw_params failed (-22)
After debugging, this regression is related to recently tplg changes(multi-core enabling).
To Reproduce
aplay -Dhw:0,0 -r 48000 -c 2 -f S16_LE /dev/zero -vvv
Reproduction Rate
100%
Expected behavior
no ipc error
dmesg
[ 126.590315] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DAI config 0 matches pcm hw params
[ 126.590324] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DAI config 0 matches pcm hw params
[ 126.590327] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[ 126.590332] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: channels_min: 2 channels_max: 2
[ 126.590343] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DAI config 0 matches pcm hw params
[ 126.590346] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DAI config 0 matches pcm hw params
[ 126.590350] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[ 126.590354] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: channels_min: 2 channels_max: 2
[ 126.590365] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[ 126.590714] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x40070000 (msg/reply size: 12/12): -22
[ 126.590740] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to enable target core for widget SSP0.OUT
[ 126.590750] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed setting up DAI widget SSP0.OUT
[ 126.590761] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on SSP0 Pin: -22
[ 126.590780] kernel: NoCodec-0: ASoC: soc_pcm_hw_params() failed (-22)
[ 126.590792] kernel: Port0: ASoC: dpcm_fe_dai_hw_params failed (-22)
[ 126.590809] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: free stream 0 dir 0
[ 126.591531] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: close stream 0 dir 0
[ 126.602977] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG: DMA_POSITION
[ 126.603031] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG: DMA_POSITION
[ 126.603949] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG: DMA_POSITION
[ 126.603972] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG: DMA_POSITION
Environment
- Kernel Branch: topic/sof-dev /a9c617ef
- SOF Branch: main /cd48b895ebda
- Zephyr Commit: 73a957e4b316
- Topology: sof-adlp-nocodec.tplg
- Platform: adlp-zephyr
Describe the bug
When playing audio on adlp zephyr platform, it runs to:
After debugging, this regression is related to recently tplg changes(multi-core enabling).
To Reproduce
aplay -Dhw:0,0 -r 48000 -c 2 -f S16_LE /dev/zero -vvv
Reproduction Rate
100%
Expected behavior
no ipc error
dmesg
Environment