linux/sound/soc/intel/skylake
Pardha Saradhi K 5cd1f5c321 ASoC: Intel: Skylake: Fix IPC rx_list corruption
In SKL+ platforms, all IPC commands are serialised, i.e. the driver sends
a new IPC to DSP, only after receiving a reply from the firmware for the
current IPC.

Hence it seems apparent that there is only a single modifier of the IPC RX
List. However, during an IPC timeout case in a multithreaded environment,
there is a possibility of the list element being deleted two times if not
properly protected.

So, use spin lock save/restore to prevent rx_list corruption.

Signed-off-by: Pardha Saradhi K <pardha.saradhi.kesapragada@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-05-24 18:25:12 +01:00
..
bxt-sst.c ASoC: Intel: Skylake: fix uninitialized pointer use 2017-04-30 21:46:49 +09:00
Makefile ASoC: Intel: Skylake: Add strip extended manifest utility 2016-05-30 18:24:41 +01:00
skl-messages.c ASoC: Intel: Skylake: Register dsp_fw_ops for kabylake 2017-04-26 15:47:45 +01:00
skl-nhlt.c ASoC: Intel: Skylake: remove hard coded ACPI path 2017-03-29 12:53:32 +01:00
skl-nhlt.h ASoC: Intel: Skylake: Add api to retrieve dmic array info from nhlt 2016-05-30 18:16:44 +01:00
skl-pcm.c ASoC: Intel: Skylake: Fix unused variable warning 2017-04-30 21:50:14 +09:00
skl-sst-cldma.c ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size 2017-03-15 17:28:18 +00:00
skl-sst-cldma.h ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size 2017-03-15 17:28:18 +00:00
skl-sst-dsp.c ASoC: Intel: bxtn: Update DSP core state in D0 2017-03-15 17:28:01 +00:00
skl-sst-dsp.h ASoC: Intel: Skylake: Register dsp_fw_ops for kabylake 2017-04-26 15:47:45 +01:00
skl-sst-ipc.c ASoC: Intel: Skylake: Fix IPC rx_list corruption 2017-05-24 18:25:12 +01:00
skl-sst-ipc.h ASoC: Intel: Skylake: Modify load_lib_ipc arguments for a nowait version 2017-04-26 15:47:49 +01:00
skl-sst-utils.c ASoC: Intel: Skylake: Commonize library load 2017-04-26 15:47:37 +01:00
skl-sst.c ASoC: Intel: Skylake: Add loadable module support on KBL platform 2017-04-26 15:47:53 +01:00
skl-topology.c Merge remote-tracking branch 'asoc/topic/intel' into asoc-next 2017-04-30 22:15:41 +09:00
skl-topology.h ASoC: Intel: Skylake: Add support for deferred DSP module bind 2017-04-12 16:57:52 +01:00
skl-tplg-interface.h ASoC: Intel: Skylake: Clean up manifest info 2017-01-06 18:14:31 +00:00
skl.c ASoC: Intel: Skylake: Move i915 registration to worker thread 2017-05-14 18:48:57 +09:00
skl.h ASoC: Intel: Skylake: Move i915 registration to worker thread 2017-05-14 18:48:57 +09:00