Skip to content

[BUG] [Stress]IPC timed out after resuming form S3 on WHL-I2S #1342

@keqiaozhang

Description

@keqiaozhang

Describe the bug
This issue happens in stress test. IPC timed out occurred after dozens of S3 and trace logger is not available after this.

To Reproduce
$ while rtcwake -m mem -s 5 ; do sleep 2 ; done

Expected behavior
no errors during S3

Impact
IPC times out

Environment

  1. Kernel: sof-dev/af71673
  2. SOF/tplg: master/be1331
  3. tplg name: sof-whl-rt5682.tplg
  4. WHL-RVP, I2S mode
  5. Reproducibility Rate: need more tests.

dmesg

[  323.559329] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[  323.559336] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.1.SSP1.OUT id 5
[  323.559342] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[  323.559478] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[  323.559493] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE: SET_VALUE
[  323.559741] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE: SET_VALUE
[  323.559753] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE: SET_VALUE
[  323.559979] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE: SET_VALUE
[  323.559991] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE: SET_VALUE
[  323.860405] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x50010000 size 108
[  323.860417] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[  323.860710] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[  323.860713] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[  323.860718] sof-audio-pci 0000:00:1f.3: error: set/get ctrl ipc comp 17
[  323.860721] sof-audio-pci 0000:00:1f.3: error: failed kcontrol value set for widget: 17
[  323.860724] sof-audio-pci 0000:00:1f.3: error: restoring kcontrols after resume
[  323.860727] sof-audio-pci 0000:00:1f.3: error: failed to restore pipeline after resume -110
[  323.860752] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[  324.059708] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[  324.059740] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[  324.164417] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x40010000 size 76
[  324.164430] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[  324.164701] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[  324.164705] sof-audio-pci 0000:00:1f.3: error: ctx_save ipc error during suspend -110
[  324.164719] pci_pm_suspend(): snd_sof_suspend+0x0/0x10 [snd_sof] returns -110
[  324.164727] dpm_run_callback(): pci_pm_suspend+0x0/0x120 returns -110
[  324.164732] PM: Device 0000:00:1f.3 failed to suspend: error -110
[  324.164736] PM: Some devices failed to suspend, or early wake event detected
[  324.164810] HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 5:0
[  324.164817] HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 7:0
[  324.402411] acpi LNXPOWER:08: Turning OFF

dmesg-s3.log

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformI2SApplies to I2S bus for codec connectionIPC timeoutIPC timeout observedP1Blocker bugs or important featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions