Skip to content

[BUG][TGLU] "error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read" when testing runtime PM #3719

@keqiaozhang

Description

@keqiaozhang

Describe the bug
CI detected below error when testing runtime PM:
dmesg

kernel: [ 6397.937083] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
kernel: [ 6397.937646] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000000 successful
kernel: [ 6398.008897] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5000001 successful
kernel: [ 6401.009420] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5000001 timedout
kernel: [ 6401.009424] sof-audio-pci 0000:00:1f.3: error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
kernel: [ 6401.009439] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
kernel: [ 6401.009450] sof-audio-pci 0000:00:1f.3: unknown ROM status value 05000001
kernel: [ 6401.009461] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
kernel: [ 6401.009481] sof-audio-pci 0000:00:1f.3: error: extended rom status:  0x5000001 0x0 0x0 0x0 0x0 0x0 0x25101c2 0x0
kernel: [ 6401.009491] sof-audio-pci 0000:00:1f.3: unknown ROM status value 05000001
kernel: [ 6401.009494] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
kernel: [ 6401.009534] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
kernel: [ 6401.009538] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware after resume -110
kernel: [ 6401.009551] intel-sdw intel-sdw.1: ASoC: error at snd_soc_pcm_component_pm_runtime_get on intel-sdw.1: -16
kernel: [ 6401.009557]  SDW1-Playback: ASoC: BE open failed -16
kernel: [ 6401.009562]  smart373-spk: ASoC: failed to start some BEs -16

etrace

[12772687158.489584] (             nan) c0 dma-trace             src/trace/dma-trace.c:339  ERROR FW ABI 0x3012001 DBG ABI 0x5002001 tag v1.5-rc1-987-geaa9a55d0b84 src hash 0x3be0d777 (ldc hash 0x3be0d777)
[12774108825.312500] (  1421666.875000) c0 dw-dma                 src/drivers/dw/dma.c:1101 ERROR dw_dma_get_data_size(): xrun detected
[12774108845.572918] (       20.260416) c0 dai          4.23           src/audio/dai.c:788  ERROR dai_report_xrun(): overrun due to no space available
[12774108864.687500] (       19.114584) c0 dai          4.23           src/audio/dai.c:685  ERROR comp_overrun(): sink->free = 64, copy_bytes = 0
[12774108963.593750] (       98.906250) c0 pipe         4.24      src/audio/pipeline.c:1029 ERROR pipeline_copy(): ret = -61, start->comp.id = 23, dir = 0
[12774108988.229168] (       24.635416) c0 pipe         4.24      src/audio/pipeline.c:1219 ERROR pipeline_task(): xrun recover failed! pipeline will be stopped!

To Reproduce
run "./check-runtime-pm-status.sh -l 15"

Reproduction Rate
first discovered by CI, need more tests.

Environment
Kernel Branch: topic/sof-dev
Kernel Commit: cc99fd4a
SOF Branch: master
SOF Commit: eaa9a55
2) Name of the topology file
* Topology: sof-tgl-sdw-max98373-rt5682-4ch
3) Name of the platform(s) on which the bug is observed.
* Platform: tgl chromebook Volteer

CI logs:https://sof-ci.sh.intel.com/#/result/planresultdetail/1371?model=TGLU_VOLT_SDW&testcase=check-runtime-pm-status-15

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDWSoundWireTGLApplies to Tiger LakebugSomething isn't working as expectedchromeChromebooks or ChromeOS

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions