Repository navigation
[BUG][CML][CFL]ipc timed out for 0x80010000 size 144 when doing module unload/reload #1830
Copy link
Copy link
Closed
Labels
CFLApplies to Coffee Lake platformApplies to Coffee Lake platformCMLApplies to Comet Lake platformApplies to Comet Lake platformGLKApplies to Gemini Lake platformApplies to Gemini Lake platformICLApplies to IceLake platformApplies to IceLake platformP3Low-impact bugs or featuresLow-impact bugs or featuresbugSomething isn't working as expectedSomething isn't working as expected
Description
Describe the bug
ipc timed out for 0x80010000 size 144 when doing module unload/reload,
caused by master 8c61213
To Reproduce
1.Disable Pulseaudio via "sudo mv /usr/bin/pulseaudio /usr/bin/pulseaudio.bak"
2.Do system reboot via "sudo reboot"
3.Wait till runtime PM status is suspned
4.run ./sof_bootloop.sh
frequency
1/40
Actual result
ipc timed out for 0x80010000 size 144
Expected result
Module reload should be successfully.
Environment
Firmware: 8c61213 https://github.com/thesofproject/sof/commits/master
Kernel: fa20ceb https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-hda-generic-2ch.tplg same as firmware
platform:CML
dmesg
[ 1437.114084] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 1437.114101] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 1437.114225] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 1437.114244] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 1437.114633] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 1437.114651] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 1437.617352] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x80010000 size 144
[ 1437.617366] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[ 1437.617455] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[ 1437.617465] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
[ 1437.617469] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[ 1437.617476] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[ 1437.617479] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[ 1437.617485] sof-audio-pci 0000:00:1f.3: error: failed to set dai config for dmic16k
[ 1437.617489] sof-audio-pci 0000:00:1f.3: error: failed to restore pipeline after resume -110
[ 1437.618056] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[ 1437.618288] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010f0f successful
[ 1437.618302] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618309] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 1437.618334] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618346] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618353] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 1437.618376] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618389] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618394] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 1437.618417] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618430] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618436] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 1437.618458] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618470] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618476] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 1437.618497] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618509] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618515] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 1437.618537] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618549] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618554] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 1437.618576] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618588] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618594] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 1437.618616] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618629] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.618634] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 1437.658507] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.658515] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 1437.658519] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask f
[ 1437.658660] sof-audio-pci 0000:00:1f.3: Turning i915 HDAC power off
[ 1448.261572] sof-audio-pci 0000:00:1f.3: PCI DSP detected
[ 1448.261795] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 1448.261801] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 1448.261842] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0xc00
[ 1448.261843] sof-audio-pci 0000:00:1f.3: found ML capability at 0xc00
[ 1448.261845] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x800
[ 1448.261846] sof-audio-pci 0000:00:1f.3: found DSP capability at 0x800
[ 1448.261850] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x500
[ 1448.261851] sof-audio-pci 0000:00:1f.3: found GTS capability at 0x500
[ 1448.261854] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x1f00
[ 1448.261855] sof-audio-pci 0000:00:1f.3: found DRSM capability at 0x1f00
[ 1448.261858] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x700
[ 1448.261859] sof-audio-pci 0000:00:1f.3: found SPIB capability at 0x700
[ 1448.261866] sof-audio-pci 0000:00:1f.3: DMA mask is 64 bit
[ 1448.261869] sof-audio-pci 0000:00:1f.3: hda global caps = 0x1009701
[ 1448.261870] sof-audio-pci 0000:00:1f.3: detected 9 playback and 7 capture streams
[ 1448.261932] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 1448.261932] sof-audio-pci 0000:00:1f.3: using HDA IRQ 147
[ 1448.261961] sof-audio-pci 0000:00:1f.3: using IPC IRQ 147
[ 1448.261986] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at 00000044
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CFLApplies to Coffee Lake platformApplies to Coffee Lake platformCMLApplies to Comet Lake platformApplies to Comet Lake platformGLKApplies to Gemini Lake platformApplies to Gemini Lake platformICLApplies to IceLake platformApplies to IceLake platformP3Low-impact bugs or featuresLow-impact bugs or featuresbugSomething isn't working as expectedSomething isn't working as expected
Activity
dengyangchao commentedon Sep 16, 2019
issue also can reproduce on CFL-S RVP
dengyangchao commentedon Sep 16, 2019
issue observed on CML and CFL-S RVP
when doing stress test via"aplay -Dhw:0,0 -r48000 -c2 -fs16_le /dev/zero & sudo ./stress-s3.sh 300 1 1"
recipe
Firmware: 2bd725d https://github.com/thesofproject/sof/commits/master
Kernel: 6cf9ef0 https://github.com/thesofproject/linux/commits/topic/sof-dev
s3_test_3_logger_all.log
test_3.log
wenqingfu commentedon Sep 16, 2019
@tlauda
lgirdwood commentedon Sep 17, 2019
@dengyangchao is this survivavble when FW is reloaded ?
dengyangchao commentedon Sep 18, 2019
@lgirdwood when issue occur, then use
sof_remove.shandsof_insert.sh, it back to normaldengyangchao commentedon Sep 19, 2019
run 200 times the issue not reproduce on CFL-S RVP when doing unload/reload
recipe
Firmware: 460c41a https://github.com/thesofproject/sof/commits/master
Kernel: 6fc7eb3 https://github.com/thesofproject/linux/commits/topic/sof-dev
dengyangchao commentedon Sep 20, 2019
the issue reproduced on CFL-S RVP when doing module unload/reload
frequency
1/34
recipe
Firmware: b0bb5a3 https://github.com/thesofproject/sof/commits/master
Kernel: 6fc7eb3 https://github.com/thesofproject/linux/commits/topic/sof-dev
YvonneYang2 commentedon Sep 26, 2019
Issue can be reproduced on ICL RVP with codec ALC700 in SDW mode when doing module unload/reload
frequency
1/85
Test recipe
Firmware: 3ce82a1 https://github.com/thesofproject/sof/commits/ +PR1851 (For HDMI tplg)
Kernel: abc49c2 https://github.com/thesofproject/linux/commits/integration/soundwire-latest
boot_fail.log
dengyangchao commentedon Sep 27, 2019
issue can be reproduced on GLK-chrome when doing module unload/reload
frequency
1/73
test recipe
Firmware: 7046e84 https://github.com/thesofproject/sof/commits/master
Kernel: 578ff8d https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-glk-da7219.tplg same as firmware
boot_fail.log
wwittbrx commentedon Oct 1, 2019
I cannot reproduce this issue with #1887 applied. Please check it on your side.
dengyangchao commentedon Oct 8, 2019
issue can not reproduce on CML, CFL, ICL-RVP HDA and GLK-Chrome, so close the issue