linux-uconsole/sound/soc/sof
Kai Vehmanen e2eba551d2
ASoC: SOF: ignore unrecoverable CTX_SAVE IPC errors at suspend
As part of the suspend flow, a context save IPC message is
sent to the firmware before powering down the DSP. If errors
are met, the suspend flow is aborted with current code.

Change the behaviour such that if firmware returns -EBUSY or
-EAGAIN, return the error codes to PM core as before. The device
is left in active state in this case.

If other errors are reported, print a warning but do not block the
suspend flow. As per interface specification, no valid error can be
returned in this scenario. If the hardware has hit a fatal error and
is not able to respond successfully, best recovery method is to
proceed with suspend and power off the DSP.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-06-13 19:54:17 +01:00
..
intel ASoC: SOF: intel: extend IPC dump information 2019-06-13 19:53:57 +01:00
xtensa ASoC: SOF: fix DSP oops definitions in FW ABI 2019-06-03 17:56:38 +01:00
control.c ASoC: SOF: control: correct the copy size for bytes kcontrol put 2019-05-28 15:48:27 +01:00
core.c ASoC: SOF: core: fix error handling with the probe workqueue 2019-05-28 15:47:19 +01:00
debug.c ASoC: SOF: debug: add new debugfs entries for IPC flood test 2019-06-03 18:59:07 +01:00
ipc.c ASOC: SOF: ipc: prevent logging trace messages 2019-06-13 19:53:14 +01:00
Kconfig ASoC: SOF: debug: add new debugfs entries for IPC flood test 2019-06-03 18:59:07 +01:00
loader.c ASoC: SOF: add mode parameter for snd_sof_debugfs_buf_item 2019-06-03 17:47:13 +01:00
Makefile ASoC: SOF: Add Build support for SOF core and Intel drivers 2019-04-28 02:51:46 +09:00
nocodec.c ASoC: sof: use modern dai_link style 2019-06-06 22:10:38 +01:00
ops.c ASoC: SOF: Fix a compile warning with CONFIG_PCI=n 2019-05-07 11:23:57 +09:00
ops.h ASoC: SOF: IPC: add ipc dump function 2019-05-03 15:02:16 +09:00
pcm.c Merge branch 'asoc-5.2' into asoc-5.3 2019-05-30 16:47:43 +01:00
pm.c ASoC: SOF: ignore unrecoverable CTX_SAVE IPC errors at suspend 2019-06-13 19:54:17 +01:00
sof-acpi-dev.c ASoC: Intel: use common helpers to detect CPUs 2019-05-30 16:33:26 +01:00
sof-pci-dev.c ASoC: SOF: add COMPILE_TEST for PCI options 2019-05-30 16:35:26 +01:00
sof-priv.h ASoC: SOF: debug: add new debugfs entries for IPC flood test 2019-06-03 18:59:07 +01:00
topology.c ASoC: sof: use modern dai_link style 2019-06-06 22:10:38 +01:00
trace.c ASoC: SOF: send time stamp to FW for alignment 2019-06-03 18:41:23 +01:00
utils.c ASoC: SOF: Add utils 2019-04-28 02:49:47 +09:00