mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
1183e9a634
Currently on all supported platforms the IPC IRQ thread first signals
the sender when an IPC response is received from the DSP, then unmasks
the IPC interrupt. Those actions are performed without holding any
locks, so the thread can be interrupted between them. IPC timeouts
have been observed in such scenarios: if the sender is woken up and it
proceeds with sending the next message without unmasking the IPC
interrupt, it can miss the next response. This patch takes a spin-lock
to prevent the IRQ thread from being preempted at that point. It also
makes sure, that the next IPC transmission by the host cannot take
place before the IRQ thread has finished updating all the required IPC
registers.
Fixes:
|
||
---|---|---|
.. | ||
apl.c | ||
bdw.c | ||
byt.c | ||
cnl.c | ||
hda-bus.c | ||
hda-codec.c | ||
hda-ctrl.c | ||
hda-dai.c | ||
hda-dsp.c | ||
hda-ipc.c | ||
hda-loader.c | ||
hda-pcm.c | ||
hda-stream.c | ||
hda-trace.c | ||
hda.c | ||
hda.h | ||
intel-ipc.c | ||
Kconfig | ||
Makefile | ||
shim.h |