linux/sound/soc/intel/avs
Amadeusz Sławiński 0dbb186c35
ASoC: Intel: avs: Update stream status in a separate thread
Function snd_pcm_period_elapsed() is part of sequence servicing HDAudio
stream IRQs. It's called under Global Interrupt Enable (GIE) disabled -
no HDAudio interrupts will be raised. At the same time, the function may
end up calling __snd_pcm_xrun() or snd_pcm_drain_done(). On the
avs-driver side, this translates to IPCs and as GIE is disabled, these
will never complete successfully.

Improve system stability by scheduling stream-IRQ handling in a separate
thread.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20241008083758.756578-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-10-08 10:49:11 +01:00
..
boards
apl.c
avs.h
board_selection.c
cldma.c
cldma.h
cnl.c
control.c
control.h
core.c ASoC: Intel: avs: Update stream status in a separate thread 2024-10-08 10:49:11 +01:00
debugfs.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
dsp.c
icl.c
ipc.c
loader.c
Makefile
messages.c
messages.h
path.c
path.h
pcm.c ASoC: Intel: avs: Update stream status in a separate thread 2024-10-08 10:49:11 +01:00
pcm.h ASoC: Intel: avs: Update stream status in a separate thread 2024-10-08 10:49:11 +01:00
probes.c
registers.h
skl.c
sysfs.c
tgl.c
topology.c
topology.h
trace.c
trace.h
utils.c
utils.h