Repository navigation
Closed
Labels
CFLApplies to Coffee Lake platformApplies to Coffee Lake platformCMLApplies to Comet Lake platformApplies to Comet Lake platformGLKApplies to Gemini LakeApplies to Gemini LakeICLApplies to Icelake platformApplies to Icelake platformTGLApplies to Tiger Lake platformApplies to Tiger Lake platformbugSomething isn't workingSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)Issues related to suspend resume (e.g. rtcwake)
Description
Bug Description
run sudo rtcwake -s 5 -m mem, after the machine sleep back, check dmesg, you can see cl_dsp_init: timeout for HIPCIE done error
To Reproduce
- reboot
- run
sudo rtcwake -s 5 -m mem
Reproduction Rate
5/5
Impact
no functional impact, just error messages
Platform & Environment
Kernel: topic/sof-dev: f55db62e
SOF: master: 835d876b
Tplg: sof-cml-rt1011-rt5682
Platform: ASUS CML Chromebook with RT5682 codec
[ 112.521166] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0e0e successful
[ 112.521173] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0e0e successful
[ 112.521174] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
[ 112.521176] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[ 113.021457] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x0 timedout
[ 113.021461] sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout for HIPCIE done
[ 113.021468] sof-audio-pci 0000:00:1f.3: unknown ROM status value ffffffff
[ 113.021472] sof-audio-pci 0000:00:1f.3: error: status = 0xffffffff panic = 0xffffffff
[ 113.021476] sof-audio-pci 0000:00:1f.3: unknown ROM status value ffffffff
[ 113.021482] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
[ 113.021487] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 113.021491] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask f
[ 113.021495] sof-audio-pci 0000:00:1f.3: error: Error code=0xffffffff: FW status=0xffffffff
[ 113.021498] sof-audio-pci 0000:00:1f.3: error: iteration 0 of Core En/ROM load failed: -110
[ 113.021502] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
[ 113.021511] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0e successful
[ 113.021514] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
[ 113.021519] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
Metadata
Metadata
Assignees
Labels
CFLApplies to Coffee Lake platformApplies to Coffee Lake platformCMLApplies to Comet Lake platformApplies to Comet Lake platformGLKApplies to Gemini LakeApplies to Gemini LakeICLApplies to Icelake platformApplies to Icelake platformTGLApplies to Tiger Lake platformApplies to Tiger Lake platformbugSomething isn't workingSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)Issues related to suspend resume (e.g. rtcwake)
Activity
ranj063 commentedon Nov 13, 2019
@aiChaoSONG Can you please check if this problem is solved by reverting 0e1a961
aiChaoSONG commentedon Nov 13, 2019
@ranj063 reverting 0e1a961 helps with this issue. @keyonjie we may need to rethink, and deal with code_loading beautifully.
dengyangchao commentedon Nov 13, 2019
Issue also can reproduce on CML Chrome with onboard codec RT5682 in I2S mode when run
Soix_test.sh.Firmware: 835d876 https://github.com/thesofproject/sof/commits/master
Kernel: f55db62 https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-cml-rt5682-max98357a.tplg same as firmware
test_0_fail.log
dengyangchao commentedon Nov 13, 2019
Also can reproduce on
ICL RVP with onboard codec ALC700 in HDA mode(s2idle)
GLK Chrome with onboard codec DA7219 in I2S mode(s2idle)
And checked on CFL-S RVP ALC700 in HDA mode(deep), issue can't reproduce
so issue only can reproduce on s2idle mode, and related with #1387
[-][BUG][CML] cl_dsp_init: timeout for HIPCIE done[/-][+][BUG] cl_dsp_init: timeout for HIPCIE done[/+]YvonneYang2 commentedon Nov 13, 2019
Issue can be reproduced on CML SDW Laptop with ALC711+ ALC1308+ ALC715 mode.
kernel: https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: fb40b85 + #1451
FW: https://github.com/thesofproject/sof/commits/master commit: 835d876
tplg: same path as FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
platform: CML SDW Laptop with ALC711+ ALC1308+ ALC715
keyonjie commentedon Nov 13, 2019
Thanks for reporting this, if we go through the dmesg log, we can find the 1st try in cl_dsp_init() failed and the subsequent try succeed, this is interesting @ranj063
keyonjie commentedon Nov 13, 2019
I root caused what happens there, will provide a update fix soon. @plbossart @ranj063
keyonjie commentedon Nov 13, 2019
@ranj063 @plbossart after applied the fix from PR #1479, the issue is disappear even with commit 0e1a961 applied, that is consistent with what @dengyangchao observed, thank you.
@ranj063 @plbossart @aiChaoSONG I feel happy that the clean up commit actually helped us to export potential hidden issues. :-)
12 remaining items
mengdonglin commentedon Nov 22, 2019
Remove P1 label since there is no functional impact, just error messages. And assigned to @keyonjie
keyonjie commentedon Nov 22, 2019
#1524 will fix this.
dengyangchao commentedon Dec 4, 2019
Tried #1524 on ICL RVP with onboard codec ALC700 in HDA mode (s2idle)
issue can't reproduce.
Tried two scenarios in s2idle:
dmesg.log
mengdonglin commentedon Dec 25, 2019
To be fixed by PR #1631 by Ranjani
YvonneYang2 commentedon Dec 25, 2019
Tested it with latest topic/sof-dev(7fde475) + #1631 , issue cannot be reproduced on CML laptop with HDA ALC3204.
dengyangchao commentedon Dec 25, 2019
Tested it with latest topic/sof-dev(7fde475) + #1631 , issue cannot be reproduced on
CML Chrome with I2S RT5682
GLK Chrome with I2S DA7219
sinahuang commentedon Dec 25, 2019
Check this issue with latest sof-dev(7fde475) + #1631 on TGL-U RVP with codec ALC711 in HDA mode, issue can't be reproduced.
xiulipan commentedon Dec 26, 2019
@Bin-QA Please help to check if our test scripts can identify such issue.
@ranj063 @keyonjie If we have retry logic here, maybe we can change the logs into warning instead of error?
Bin-QA commentedon Dec 26, 2019
I think this PR can identify the issue like this: thesofproject/sof-test#16
dengyangchao commentedon Jan 14, 2020
Since #1631 merged, issue can't be reproduced, close.