Skip to content

[S3] Failed to aplay source after suspend/resume without playback on APL-nocodec #1073

Description

@Jiangxinx

Summary:
Fail to check aplay function after suspend/resume 50 times without plaback on APL-nocodec.
sof-logger is empty. sof-logger -t log is attached below.

Step:
1.sudo ./stress-s3.sh 50 1 0

Dmesg:

[  349.430069] r8169 0000:03:00.0 enp3s0: Link is Up - 100Mbps/Full - flow control rx/tx
[  350.582642] PM: suspend entry (deep)
[  350.582646] PM: Syncing filesystems ... done.
[  350.583335] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  350.585322] OOM killer disabled.
[  350.585323] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  350.587053] printk: Suspending console(s) (use no_console_suspend to debug)
[  350.588174] sof-audio-pci 0000:00:0e.0: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[  350.588198] r8169 0000:03:00.0 enp3s0: Link is Down
[  350.895170] sof-audio-pci 0000:00:0e.0: error: ipc timed out for 0x40010000 size 0x4c
[  350.895182] sof-audio-pci 0000:00:0e.0: unknown ROM status value 01006701
[  350.895187] sof-audio-pci 0000:00:0e.0: error: status = 0x001d003c panic = 0x00000000
[  350.895192] sof-audio-pci 0000:00:0e.0: unknown ROM status value 01006701
[  350.895212] sof-audio-pci 0000:00:0e.0: error: ctx_save ipc error during suspend -110
[  350.946112] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x1d003c timedout
[  350.946122] sof-audio-pci 0000:00:0e.0: error: reset enter failed: core_mask 3 adspcs 0x1d003c
[  350.946125] sof-audio-pci 0000:00:0e.0: error: dsp core reset failed: core_mask 3
[  350.946128] sof-audio-pci 0000:00:0e.0: error: failed to power down core during suspend
[  350.946131] sof-audio-pci 0000:00:0e.0: error: suspending dsp
[  350.946135] sof-audio-pci 0000:00:0e.0: error: failed to power down DSP during suspend -5
[  350.946149] pci_pm_suspend(): snd_sof_suspend+0x0/0x10 [snd_sof] returns -5
[  350.946158] dpm_run_callback(): pci_pm_suspend+0x0/0x120 returns -5
[  350.946165] PM: Device 0000:00:0e.0 failed to suspend: error -5
[  350.946170] PM: Some devices failed to suspend, or early wake event detected
[  351.057779] r8169 0000:02:00.0 enp2s0: Link is Down
[  351.058014] r8169 0000:03:00.0 enp3s0: Link is Down
[  351.058424] OOM killer enabled.
[  351.058425] Restarting tasks ... done.
[  351.060332] video LNXVIDEO:00: Restoring backlight state
[  351.060345] PM: suspend exit
[  351.257025] ata2: SATA link down (SStatus 4 SControl 300)
[  351.264780] ata1: SATA link down (SStatus 4 SControl 300)
[  353.162866] r8169 0000:03:00.0 enp3s0: Link is Up - 100Mbps/Full - flow control rx/tx
[  353.305383] sof-audio-pci 0000:00:0e.0: pcm: open stream 0 dir 0
[  353.305388] sof-audio-pci 0000:00:0e.0: error: pcm open failed to resume -22
[  353.305395] sof-audio-pci 0000:00:0e.0: ASoC: can't open component 0000:00:0e.0: -22
[  353.305398]  Port0: ASoC: failed to start FE -22

Env:
sof master: 24e241b
kernel sof-dev: cf5978a
tplg: sof-apl-nocodec.tplg

Log:
dmesg.log
logger.log

Metadata

Metadata

Assignees

Labels

APLApplies to Apollolake platformbugSomething 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