Repository navigation
[DUT][ICL] random error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read #2890
Copy link
Copy link
Closed
Labels
BootFirmware boot or code signing related.Firmware boot or code signing related.HDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionICLApplies to IceLake platformApplies to IceLake platformP2Critical bugs or normal featuresCritical bugs or normal featuresbugSomething isn't working as expectedSomething isn't working as expectedstatus = 0x00000000boot statusboot status
Milestone
Description
random dsp error message will appear on ICL RVP when FW need to be loaded(boot/runtime_pm_resume/s3_resume)
dmesg example
kernel: [ 409.510390] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
kernel: [ 409.510423] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0e successful
kernel: [ 409.510428] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
kernel: [ 409.510435] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
kernel: [ 409.510981] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000000 successful
kernel: [ 409.510987] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf010e0e successful
kernel: [ 409.511140] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
kernel: [ 409.811376] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x6000010 timedout
kernel: [ 409.811379] sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
kernel: [ 409.811403] sof-audio-pci 0000:00:1f.3: unknown ROM status value 06000010
kernel: [ 409.811426] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
kernel: [ 409.811447] sof-audio-pci 0000:00:1f.3: unknown ROM status value 06000010
kernel: [ 409.811456] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010f0f successful
kernel: [ 409.811464] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1000f0f successful
kernel: [ 409.811469] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask f
kernel: [ 409.811472] sof-audio-pci 0000:00:1f.3: iteration 0 of Core En/ROM load failed: -110
kernel: [ 409.811493] sof-audio-pci 0000:00:1f.3: Error code=0xffffffff: FW status=0xffffffff
kernel: [ 409.812051] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
kernel: [ 409.812083] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0e successful
kernel: [ 409.812088] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
kernel: [ 409.812095] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
kernel: [ 409.812887] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000000 successful
kernel: [ 409.812909] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf010e0e successful
kernel: [ 409.813063] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
kernel: [ 409.887374] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5000001 successful
kernel: [ 409.897918] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5 successful
kernel: [ 409.898383] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
kernel: [ 409.898395] sof-audio-pci 0000:00:1f.3: Firmware download successful, booting...
kernel: [ 409.905888] sof-audio-pci 0000:00:1f.3: ipc rx: 0x70000000: FW_READY
kernel: [ 409.905893] sof-audio-pci 0000:00:1f.3: ipc: DSP is ready 0x70000000 offset 0x81000
kernel: [ 409.905901] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x70000000: FW_READY
kernel: [ 409.905990] sof-audio-pci 0000:00:1f.3: firmware boot complete
previous discussion in thesofproject/sof-test#16
@bardliao @ranj063
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BootFirmware boot or code signing related.Firmware boot or code signing related.HDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionICLApplies to IceLake platformApplies to IceLake platformP2Critical bugs or normal featuresCritical bugs or normal featuresbugSomething isn't working as expectedSomething isn't working as expectedstatus = 0x00000000boot statusboot status
Activity
[-][BUT][ICL] random error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read[/-][+][DUT][ICL] random error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read[/+]stripes416 commentedon Jan 28, 2020
Update: I've been watching for this during manual testing on ICL for the last several days and I haven't seen it.
Liviali155 commentedon Apr 1, 2020
On 20200401 daily test reproduced this issue again when do module load/unload test,sof/dev(3bdd89d)+master(1e39cee),I reproduced it manually,but can not reproduce it
check-kmod-load-unload-50.sh.txt
cmd.txt
dmesg.txt
Liviali155 commentedon Apr 7, 2020
On icl reproduced this issue with latest sof/dev(052e45d) +master(b4e8b1e)
f-icl-rvp-hda-4
Reproduction Rate
2/2
To Reproduce
1.sudo reboot
2.cd sof-test
3.cd test-case
4.export TPLG=/lib/firmware/intel/sof-tplg/sof-hda-generic-4ch.tplg
5../check-kmod-load-unload-after-playback.sh -l 50
dmesg_error.log
dmesg.txt
slogger.txt
mengdonglin commentedon Apr 28, 2020
Transfer to SOF repo from linux issue No. 1703, to group with other DSP boot failure.
Liviali155 commentedon Apr 28, 2020
On icl run multiple-pipeline-playback also can reproduce this issue with latest sof/dev(8f1c6ad) +master(de2dcbb)
After error occured ,all the pipeline can work
1.sudo reboot
2.cd sof-test
3.cd test-case
4.export TPLG=/lib/firmware/intel/sof-tplg/sof-hda-generic-4ch.tplg
5../multiple-pipeline-playback.sh -l 50
Reproduction rate
Run 50times,failed at 44th
dmesg_error.log
dmesg0428.log
sof-logger0428.log,
tlauda commentedon Apr 28, 2020
0x6000010indicates that ROM is still waiting for response from CSE regarding IMR allocation. What is the value of the timeout? It looks like timing issue.Liviali155 commentedon Apr 29, 2020
Add the log complete
dmesg042.log
sof-logger0429.log
Liviali155 commentedon May 22, 2020
On latest sof-dev(2de2b2a)+master(11ee3b8 ) run
./check-kmod-load-unload-after-playback.sh -l 1000
./multiple-pipeline-playback.sh -l 1000
error not seen
Liviali155 commentedon May 26, 2020
On 20200526 for-next(e0b2db3)+master(136b48c) ,error occured again when run Check Runtime PM status
dmesg.txt
slogger.txt
Liviali155 commentedon Jul 8, 2020
On 20200708 for-next(cce047aa)+master(adc8cc2) ,error occured again when run module reload test manually
1."sudo reboot" to reboot system
2.cd sof-test
3.cd test-case
4.export TPLG=/lib/firmware/intel/sof-tplg/sof-hda-generic-4ch.tplg
5../check-kmod-load-unload.sh -l 50
Failed at 28/50

dmesg_error.log
dmesg0708.log
sof-logger0708.log
Liviali155 commentedon Jul 8, 2020
On 20200708 sof-dev(ef5a473d)+master(adc8cc2),error not seen when run module reload test 50 times manually
slawblauciak commentedon Aug 10, 2020
@xiulipan can you please verify if you can still see the error?
xiulipan commentedon Aug 11, 2020
@slawblauciak Yes, we can still see this issue on for-next branch. I think this maybe related to some kernel patches not up-streamed. Will double check .
mengdonglin commentedon Sep 1, 2020
Close as recent CI daily test with sof-dev kernel and FW master branch cannot reproduce this issue