Skip to content

[IPC4] Suspend while pause causes IPC errors #5341

Open
@ujfalusi

Description

@ujfalusi

Steps to reproduce (on upx-i11 for example - needs pause support to be force enabled):
terminal1: aplay -Dhw:0,0 -i -fdat /dev/zero
terminal1:
retminal2: rtcwake -m mem -s5
terminal1:
terminal1: <press CTRL+c to stop>

in kernel log IPC errors will be present:

[  797.265134] sof-audio-pci-intel-tgl 0000:00:1f.3: FW reported error: 12 - Required resource is in invalid state
[  797.265151] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc error for msg 0x12000000|0x0
[  797.265154] sof-audio-pci-intel-tgl 0000:00:1f.3: failed to free pipeline widget pipeline.1
...
[  797.265540] sof-audio-pci-intel-tgl 0000:00:1f.3: FW reported error: 12 - Required resource is in invalid state
[  797.265562] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc error for msg 0x12010000|0x0
[  797.265565] sof-audio-pci-intel-tgl 0000:00:1f.3: failed to free pipeline widget pipeline.2
[  797.265572] sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to free connected widgets
[  797.265579] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_pcm_stream_free: pcm0 (HDA Analog), dir 0: sof_widget_list_free failed -22
...
[  833.268174] sof-audio-pci-intel-tgl 0000:00:1f.3: FW reported error: 12 - Required resource is in invalid state
[  833.268198] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc error for msg 0x12000000|0x0
[  833.268204] sof-audio-pci-intel-tgl 0000:00:1f.3: failed to free pipeline widget pipeline.1
...
[  833.269106] sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to free connected widgets
[  833.269115] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_pcm_stream_free: pcm0 (HDA Analog), dir 0: sof_widget_list_free failed -22
[  833.269124] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC error (-22): at snd_soc_pcm_component_hw_free() on 0000:00:1f.3

kernel log for this scenario: dmesg.txt

The only working fix so far for this is: #5058

Metadata

Metadata

Assignees

No one assigned

    Labels

    IPC4Pause / resumebugSomething 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