linux_dsm_epyc7002/sound/soc/sof
Keyon Jie 3d2e5c4807
ASoC: SOF: Intel: BYT: harden IPC initialization and handling
On probe and reset, we should not touch the SHIM_IMRD register since
it is configured by firmware.

The driver only configures SHIM_IMRX with the BUSY interrupt enabled
by default and DONE interrupt disabled. When sending an IPC message,
the DONE interrupt is enabled until the DSP response is provided.

This sequence hardens the IPC communication and avoid
interrupt-related issues when adding/removing modules or during system
suspend-resume transitions.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200526203640.25980-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-05-27 14:06:59 +01:00
..
imx ASoC: SOF: imx: make imx8m_dsp_ops static 2020-05-18 13:24:59 +01:00
intel ASoC: SOF: Intel: BYT: harden IPC initialization and handling 2020-05-27 14:06:59 +01:00
xtensa
compress.c
compress.h
control.c Merge branch 'for-5.7' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.8 2020-05-12 16:12:47 +01:00
core.c ASoC: SOF: inform DSP that driver is going to be removed 2020-05-18 13:24:55 +01:00
debug.c
ipc.c ASoC: SOF: ipc: ignore DSP replies received when they are not expected 2020-05-27 14:06:57 +01:00
Kconfig
loader.c ASoC: SOF: ext_manifest: parse compiler version 2020-05-25 14:59:37 +01:00
Makefile
nocodec.c
ops.c
ops.h
pcm.c
pm.c ASoC: SOF: pm: handle resume on legacy Intel platforms 2020-05-27 14:06:54 +01:00
probe.c
probe.h
sof-acpi-dev.c
sof-audio.c
sof-audio.h Merge branch 'for-5.7' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.8 2020-05-12 16:12:47 +01:00
sof-of-dev.c
sof-pci-dev.c
sof-priv.h ASoC: SOF: ipc: ignore DSP replies received when they are not expected 2020-05-27 14:06:57 +01:00
topology.c ASoC: SOF: topology: add support to smart amplifier 2020-05-18 13:24:56 +01:00
trace.c
utils.c