Skip to content

[Bug][WHL] ipc timed out after S3 after '0x40010000: GLB_PM_MSG: CTX_SAVE' #944

@kv2019i

Description

@kv2019i

Summary:
'ipc timed out for for '0x40010000: GLB_PM_MSG: CTX_SAVE' after stop aplay or system reboot.

To reproduce
Set up: Mantis WHL, no peripherals connected excepte USB etherner card for remote ssh.
Boot Mantis WHL device.
Log in.
Open shell and force S3 with:
sudo rtcwake -m mem -s 3

Actual result
error: ipc timed out for 0x40010000: GLB_PM_MSG: CTX_SAVE

Reproduce rate:
+20% (typically happens after three S3 tries after boot)

Test recipe
Kernel repo: 9d424352fe4 (sof/topic/sof-dev)
- same results also with f19ab80 (sof/topic/sof-dev) + #895
Firmware repo: 42390011 (master)
- same results also with 4f239dea (HEAD -> dai-channel-fix, ranjani/fix/link-dma-allocation) of thesofproject/sof/pull/1354
Topology: https://github.com/thesofproject/sof/commits/master . Same as above SOF repo
file: tools/topology/sof-hda-generic.m4, sof-hda-generic-2ch.tplg

Dmesg log

[  141.785846] OOM killer enabled.
[  141.785847] Restarting tasks ... done.
[  141.833840] PM: suspend exit
[  141.855839] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[  142.163915] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x40010000 size 76
[  142.163934] sof-audio-pci 0000:00:1f.3: unknown ROM status value ffffffff
[  142.164207] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0xffffffff trace 0xffffffff
[  142.164221] sof-audio-pci 0000:00:1f.3: error: host status 0x80000000 dsp status 0x00000000 mask 0x00000003
[  142.164225] sof-audio-pci 0000:00:1f.3: error: ctx_save ipc error during suspend -110

Notes:
Similar to #934 but the fix (PR936) does not help in this case.

Metadata

Metadata

Assignees

Labels

CFLApplies to Coffee Lake platformIPC timeoutIPC timeout observedP1Blocker bugs or important featuresWHLApplies to WhiskeyLake platformbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions