Repository navigation
Closed
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformLegacy IRQIssues observed only in legacy IRQ modeIssues observed only in legacy IRQ modeSDWApplies to SoundWire bus for codec connectionApplies to SoundWire bus for codec connectionbugSomething isn't workingSomething isn't working
Description
Describe the bug
With legacy IRQ mode, ipc timed out for 0x40080000 size 32 occurred when run reboot stress test. Failed at 147th time.
To Reproduce
- Run "sudo ./test-reboot.sh 300"
Reproduced rate
Run 300 times, failed 5 times
Expected result
No error occurred when run reboot stress test
Actual result
ipc timed out for 0x40080000 size 32 occurred when run reboot stress test.
dmesg
[ 26.496551] PM: Creating hibernation image:
[ 26.632642] PM: Need to copy 438825 pages
[ 26.632645] PM: Normal pages needed: 438825 + 1024, available pages: 1606054
[ 27.076293] PM: Hibernation image created (438825 pages copied)
[ 26.497797] Enabling non-boot CPUs ...
[ 26.497827] x86: Booting SMP configuration:
[ 26.497829] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 26.498920] CPU1 is up
[ 26.498940] smpboot: Booting Node 0 Processor 2 APIC 0x4
[ 26.500158] CPU2 is up
[ 26.500182] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 26.501328] CPU3 is up
[ 26.501348] smpboot: Booting Node 0 Processor 4 APIC 0x1
[ 26.502534] CPU4 is up
[ 26.502554] smpboot: Booting Node 0 Processor 5 APIC 0x3
[ 26.503513] CPU5 is up
[ 26.503529] smpboot: Booting Node 0 Processor 6 APIC 0x5
[ 26.504500] CPU6 is up
[ 26.504515] smpboot: Booting Node 0 Processor 7 APIC 0x7
[ 26.505445] CPU7 is up
[ 26.508240] ACPI: EC: interrupt unblocked
[ 26.535533] sof-audio-pci 0000:00:1f.3: snd_sof_resume
[ 26.535535] sof-audio-pci 0000:00:1f.3: DSP will exit from D0i3...
[ 26.535549] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40080000: GLB_PM_MSG: unknown type
[ 26.739995] nvme nvme0: 8/0/0 default/read/poll queues
[ 27.042637] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x40080000 size 32
[ 27.042642] sof-audio-pci 0000:00:1f.3: info: preventing DSP entering D3 state to preserve context
[ 27.042652] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[ 27.042908] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[ 27.042916] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0xc0000000 intlctl 0xc0000001 rirb 01
[ 27.042919] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x80000000 adspis 0x00000001
[ 27.042926] sof-audio-pci 0000:00:1f.3: error: host status 0x80000000 dsp status 0x90020000 mask 0x00000003
[ 27.042928] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[ 27.042932] sof-audio-pci 0000:00:1f.3: error: PM_GATE ipc error -110
[ 27.042935] sof-audio-pci 0000:00:1f.3: error: failed to exit from D0I3 -110
[ 27.042948] PM: dpm_run_callback(): pci_pm_thaw+0x0/0x80 returns -110
[ 27.042957] PM: Device 0000:00:1f.3 failed to thaw: error -110
[ 27.042968] intel-sdw sdw-master-0: intel_resume start
[ 27.043580] rt711 sdw:0:25d:711:0: sdw_modify_slave_status: initializing completion for Slave 1
[ 27.043698] intel-sdw sdw-master-0: intel_resume done
[ 27.562629] i2c_designware i2c_designware.1: controller timed out
[ 27.562644] i2c_hid i2c-DELL08AF:00: failed to change power setting.
[ 27.562657] PM: dpm_run_callback(): i2c_hid_resume+0x0/0xe0 [i2c_hid] returns -110
[ 27.562666] PM: Device i2c-DELL08AF:00 failed to thaw async: error -110
[ 29.098654] rt711 sdw:0:25d:711:0: Initialization not complete, timed out
[ 29.098673] PM: dpm_run_callback(): rt711_dev_resume+0x0/0x90 [snd_soc_rt711] returns -110
[ 29.098681] PM: Device sdw:0:25d:711:0 failed to thaw: error -110
[ 29.098693] intel-sdw sdw-master-1: intel_resume start
[ 29.099099] rt1308 sdw:1:25d:1308:0: sdw_modify_slave_status: initializing completion for Slave 1
[ 29.099218] intel-sdw sdw-master-1: intel_resume done
[ 31.146653] rt1308 sdw:1:25d:1308:0: Initialization not complete, timed out
[ 31.146670] PM: dpm_run_callback(): rt1308_dev_resume+0x0/0x70 [snd_soc_rt1308_sdw] returns -110
[ 31.146677] PM: Device sdw:1:25d:1308:0 failed to thaw: error -110
[ 31.146688] intel-sdw sdw-master-3: intel_resume start
[ 31.147091] rt715 sdw:3:25d:715:0: sdw_modify_slave_status: initializing completion for Slave 1
[ 31.147210] intel-sdw sdw-master-3: intel_resume done
[ 33.194653] rt715 sdw:3:25d:715:0: Initialization not complete, timed out
[ 33.194671] PM: dpm_run_callback(): rt715_dev_resume+0x0/0x90 [snd_soc_rt715] returns -110
[ 33.194678] PM: Device sdw:3:25d:715:0 failed to thaw: error -110
[ 33.194715] sdw_rt711_rt1308_rt715 sdw_rt711_rt1308_rt715: ASoC: Scheduli
Test recipe:
kernel: https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: 391b5f9
FW: https://github.com/thesofproject/sof/commits/master commit: fb068e6
tplg: same path as FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
platform: CML SDW Laptop with ALC711+ ALC1308+ ALC715
Metadata
Metadata
Assignees
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformLegacy IRQIssues observed only in legacy IRQ modeIssues observed only in legacy IRQ modeSDWApplies to SoundWire bus for codec connectionApplies to SoundWire bus for codec connectionbugSomething isn't workingSomething isn't working
Activity
YvonneYang2 commentedon Nov 12, 2019
Will test it with legacy mode + #1451 to check if can resolve this issue
YvonneYang2 commentedon Nov 14, 2019
@bardliao
Issue cannot be reproduced with latest-soundwire-latest(fb40b85) + #1451 in 500 times reboot stress test with Legacy IRQ mode. But occurred once call trace and "snd_soc_register_card failed -517“ at 419th time.
Reprodued rate
1/500
dmesg
dmesg_failed_419.log
mengdonglin commentedon Nov 25, 2019
@YvonneYang2 Please verify latest ttps://github.com/thesofproject/linux/tree/integration/soundwire-latest
PR #1451 was replaced by PR #1483, and PR #1483 was merged by integration/soundwire-latest
bardliao commentedon Nov 25, 2019
@YvonneYang2 Could you retest it with #1543?
YvonneYang2 commentedon Nov 25, 2019
Tested reboot stress test 300 times with #1543 in legacy IRQ mode, issue cannot be reproduced.
But still can reproduce call trace and "snd_soc_register_card failed -517“ same as #1468 (comment). Will try with latest soundwire-latest branch, if issue can still be reproduced, will report a new issue to track it.
Test recipe:
kernel: https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: 68cadd8 + #1543
FW: https://github.com/thesofproject/sof/commits/master commit: d6fe2b1
tplg: Same with FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
platform: CML Laptop with ALC711+ ALC1308+ ALC715
bardliao commentedon Nov 25, 2019
@YvonneYang2 @plbossart #1468 (comment) seems be similar to #1540?
YvonneYang2 commentedon Nov 27, 2019
Tested it 300 times with #1548 , issue cannot be reproduced.
kernel: https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: a370cb0 + #1548
FW: https://github.com/thesofproject/sof/commits/master commit: db7671a
tplg: Same with FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
platform: CML Laptop with ALC711+ ALC1308+ ALC715 in SDW mode
YvonneYang2 commentedon Nov 28, 2019
Tested reboot stress test 500 times with legacy IRQ mode after #1548 has been merged into integration/soundwire-latest branch, issue cannot be reproduced. Close it.
Test recipe:
kernel: https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: d6078f9
FW: https://github.com/thesofproject/sof/commits/master commit: d740a3e
tplg: Same with FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
platform: CML Laptop with ALC711+ ALC1308+ ALC715 in SDW mode