You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[IPC4] Suspend while pause causes IPC errors #5341
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: < press SPACE to pause >
retminal2: rtcwake -m mem -s5
terminal1: < press SPACE to release >
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
Activity
ASoC: SOF: sof-pcm/pm: Stop paused streams before the system suspend
ALSA: pcm: Release paused streams before suspend if resume is not sup…
ujfalusi commentedon Apr 1, 2025
The fix upstream is: https://lore.kernel.org/linux-sound/20250401133652.11617-1-peter.ujfalusi@linux.intel.com/
ASoC: SOF: sof-pcm/pm: Stop paused streams before the system suspend
ALSA: pcm: Release paused streams before suspend if resume is not sup…
ALSA: pcm: Release paused streams before suspend if resume is not sup…