Skip to content

[BUG][JSL] SOF doesn't work after S3 #1719

@keqiaozhang

Description

@keqiaozhang

Describe the bug
Perform S3 test first, then do playback or capture, aplay/arecord will stuck there without output and process cannot be killed.
This issue only happens on HDA mode, on I2S mode, sof works well after S3.

To Reproduce

  1. do S3 first
    rtcwake -m mem -s 5
  2. then run aplay/arecord
    aplay -Dhw:0,1 -f dat -c 2 -vvv /dev/zero

Reproduction Rate
100%

Expected behavior
SOF works well after S3

Environment
Branch jsl-001-drop-stable
Commit: 921fd95
kernel:
Branch:sof-dev
Commit: 0e05b6e

dmesg

[  142.672487] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[  142.672515] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[  143.172281] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[  143.172312] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[  318.752895] snd_hda_codec_hdmi ehdaudio0D2: Unable to sync register 0x2f8100. -5
[  323.762163] sof-audio-pci 0000:00:1f.3: pcm: open stream 1 dir 0
[  323.762169] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[  323.762172] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[  323.762175] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[  323.762910] sof-audio-pci 0000:00:1f.3: pcm: close stream 1 dir 0
[  434.210982] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[  434.245658] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[  434.245835] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40010000: GLB_PM_MSG: CTX_SAVE
[  434.245912] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010303 successful
[  434.245917] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x303 successful
[  434.245921] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 3
[  434.245963] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000010 at  00000044

dmesg_s3.txt

Metadata

Metadata

Assignees

Labels

GFXGFX driver restrictionHDAApplies to HD-Audio bus for codec connectionJSLJasper Lake platform issuesP2Critical bugs or normal featuresbugSomething 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