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> |
||
|---|---|---|
| .. | ||
| boards | ||
| apl.c | ||
| avs.h | ||
| board_selection.c | ||
| cldma.c | ||
| cldma.h | ||
| cnl.c | ||
| control.c | ||
| control.h | ||
| core.c | ||
| debugfs.c | ||
| dsp.c | ||
| icl.c | ||
| ipc.c | ||
| loader.c | ||
| Makefile | ||
| messages.c | ||
| messages.h | ||
| path.c | ||
| path.h | ||
| pcm.c | ||
| pcm.h | ||
| probes.c | ||
| registers.h | ||
| skl.c | ||
| sysfs.c | ||
| tgl.c | ||
| topology.c | ||
| topology.h | ||
| trace.c | ||
| trace.h | ||
| utils.c | ||
| utils.h | ||