Skip to content

[BUG][SDW] Aplay+ arecord DMIC32 will cause IO error and dmesg shows ipc timed out for 0x60050000 size 12 #1223

@YvonneYang2

Description

@YvonneYang2

Describe the bug
Aplay + arecord DMIC32 will cause IO error and dmesg shows ipc timed out for 0x60050000 size 12
Terminate it then areocrd or aplay can work.

To Reproduce
1.Aplay -Dhw:0,0 -r48000 -c2 -fs32_le 2.wav -vv -i
2.Arecord -Dhw:0,2 -r48000 -c4 -fs32_le 1.wav -vv -i

frequency
100%

Expected result
Both arecord normally

Actual result
Arecord stop and shows IO error after trigger arecord -Dhw:0,2

Environment
Firmware: 0223d94 https://github.com/thesofproject/sof/commits/sdw-001-drop-stable
+PR thesofproject/sof#1781
Kernel: a8f3408 https://github.com/thesofproject/linux/commits/integration/soundwire-alpha
Topology: file: same with firmware branch, sof-icl-rt700.m4
platform: ICL RVP with onboard ALC700 in SDW mode

dmesg

[   48.458137] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60040000: GLB_STREAM_MSG: TRIG_START
[   48.458643] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60040000: GLB_STREAM_MSG: TRIG_START
[   48.458645] plb: soc_pcm_trigger component name snd-soc-dummy
[   48.458647] plb: soc_pcm_trigger cpu_dai name DMIC01 2
[   48.458648] plb: soc_pcm_trigger codec_dai name dmic-hifi
[   48.458649] plb: soc_pcm_trigger component name 0000:00:1f.3
[   48.458650] plb: soc_pcm_trigger component name dmic-codec
[   48.458651] plb: soc_pcm_trigger cpu_dai name DMIC01 Pin
[   48.963067] plb: soc_pcm_trigger codec_dai name snd-soc-dummy-dai
[   48.963082] plb: soc_pcm_trigger component name 0000:00:1f.3
[   48.963100] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 2 dir 1 cmd 0
[   48.963138] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20340000 successful
[   48.963154] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[   49.466973] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x60050000 size 12
[   49.467003] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[   49.467192] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[   49.467221] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000083 rirb 00
[   49.467226] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[   49.467248] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[   49.467252] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[   49.467262]  DMIC01: ASoC: trigger FE failed -110
[   49.467319] sof-audio-pci 0000:00:1f.3: pcm: free stream 2 dir 1
[   49.467328] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60030000: GLB_STREAM_MSG: PCM_FREE
[   49.970699] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x60030000 size 12
[   49.970728] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[   49.970919] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[   49.970948] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000083 rirb 00
[   49.970953] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[   49.970975] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[   49.970979] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[   49.971149] sof-audio-pci 0000:00:1f.3: pcm: close stream 2 dir 1
[   50.123090] plb: soc_pcm_trigger codec_dai name snd-soc-dummy-dai
[   50.123105] plb: soc_pcm_trigger component name 0000:00:1f.3
[   50.123123] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 0 dir 0 cmd 0
[   50.123158] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[   50.123174] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[   50.138692] plb: soc_pcm_trigger codec_dai name snd-soc-dummy-dai
[   50.138704] plb: soc_pcm_trigger component name 0000:00:1f.3
[   50.138716] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 1 dir 1 cmd 0
[   50.138772] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20240000 successful
[   50.626986] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x60050000 size 12
[   50.627015] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[   50.627208] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[   50.627237] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
[   50.627241] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[   50.627263] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[   50.627268] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[   50.627284]  SDW0-speakers: ASoC: trigger FE failed -110
[   50.627344] sof-audio-pci 0000:00:1f.3: pcm: free stream 0 dir 0
[   50.627353] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60030000: GLB_STREAM_MSG: PCM_FREE
[   51.130883] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x60030000 size 12
[   51.130912] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[   51.131103] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[   51.131133] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
[   51.131137] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[   51.131160] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[   51.131164] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[   51.131488] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[   51.634475] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x60050000 size 12
[   51.634506] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[   51.634838] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[   51.634876] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
[   51.634880] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[   51.634908] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[   51.634912] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[   51.634929]  SDW0-mics: ASoC: trigger FE failed -110
[   51.634993] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   52.138496] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x80010000 size 120
[   52.138517] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[   52.138967] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[   52.139001] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
[   52.139005] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[   52.139039] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[   52.139043] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[   52.139048] sof-audio-pci 0000:00:1f.3: error: failed to free stream for link 0 dai->id 2

arecord_02_cause_IO_error_logger.log
arecord_02_cause_IOerror_dmesg.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    ICLApplies to Icelake platformSDWApplies to SoundWire bus for codec connectionbugSomething isn't workingduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions