Skip to content

[BUG] IPC timed out for 0x13050003 GLB_SET_PIPELINE_STATE when testing multiple pipelines #7880

@keqiaozhang

Description

@keqiaozhang

Describe the bug
Observed this issue on mtl-005-stable-drop branch. The reproduce rate is low and hard to reproduce it manually. There're no errors in mtrace.

dmesg

[ 2817.809591] kernel: snd_sof:sof_ipc4_set_pipeline_state: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4 set pipeline 5 state 3
[ 2817.809598] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc tx      : 0x13050003|0x0: GLB_SET_PIPELINE_STATE
[ 2817.817074] kernel: snd_sof:sof_pcm_trigger: sof-audio-pci-intel-mtl 0000:00:1f.3: pcm: trigger stream 6 dir 1 cmd 0
[ 2817.817082] kernel: snd_sof:sof_ipc4_trigger_pipelines: sof-audio-pci-intel-mtl 0000:00:1f.3: trigger cmd: 0 state: 3
[ 2818.313225] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc timed out for 0x13050003|0x0
[ 2818.313251] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Attempting to prevent DSP from entering D3 state to preserve context
[ 2818.313256] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ IPC dump start ]------------
[ 2818.313276] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Host IPC initiator: 0x93050003|0x0|0x0, target: 0x33000000|0x0|0x0, ctl: 0x3
[ 2818.313294] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ IPC dump end ]------------
[ 2818.313307] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 2818.313319] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: IPC timeout
[ 2818.313329] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: fw_state: SOF_FW_BOOT_COMPLETE (7)
[ 2818.313345] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ROM status: 0x0, ROM error: 0x0
[ 2818.313356] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ROM debug status: 0x50000005, ROM debug error: 0x0
[ 2818.313371] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ROM feature bit enabled
[ 2818.313381] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 2818.313409] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at soc_dai_trigger on Analog CPU DAI: -110
[ 2818.313433] kernel:  HDA Analog: ASoC: error at dpcm_be_dai_trigger on HDA Analog: -110
[ 2818.313446] kernel:  HDA Analog: ASoC: trigger FE cmd: 0 failed: -110

To Reproduce
~/sof-test/test-case/multiple-pipeline.sh -f a -c 20 -l 50

Reproduction Rate
hard to reproduce it manually.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: {sof-ace-tplg/sof-hda-generic-4ch.tplg}
  3. Name of the platform(s) on which the bug is observed.
    • Platform: {mtl-hda}

dmesg.txt
mtrace.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    HDAApplies to HD-Audio bus for codec connectionIPC timeoutIPC timeout observedMTLApplies to Meteor Lake platformP2Critical bugs or normal featuresbugSomething isn't working as expectedmtl-005

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions