1
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 ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines 2024-05-29 20:23:15 +01:00
apl.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
avs.h ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
board_selection.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
cldma.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
cldma.h ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
cnl.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
control.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
control.h ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
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 ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
icl.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
ipc.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
loader.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
Makefile ASoC: intel: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:20 +09:00
messages.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
messages.h ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
path.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
path.h ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
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 ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
registers.h ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
skl.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
sysfs.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
tgl.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
topology.c ASoC: Merge up fixes 2024-06-21 13:17:21 +01:00
topology.h ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
trace.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
utils.c ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00
utils.h ASoC: Intel: avs: clarify Copyright information 2024-05-06 23:59:39 +09:00