diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2019-09-27 23:05:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-01 20:34:28 +0300 |
commit | 9a06508bf7824ba34f2e1e9e08df505ac14a44c2 (patch) | |
tree | 39f7aedf09adba7275a44383417f561e1e407cc4 /sound/soc/sof/Kconfig | |
parent | 2ab4c50f6955514150f83b47b7aee3ba5fe3ac1d (diff) | |
download | linux-9a06508bf7824ba34f2e1e9e08df505ac14a44c2.tar.xz |
ASoC: SOF: ipc: retain DSP context after FW exception.
Add config option to prevent DSP entering D3 after any FW exception.
This can then be used to dump FW context for debug.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190927200538.660-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/Kconfig')
-rw-r--r-- | sound/soc/sof/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/sof/Kconfig b/sound/soc/sof/Kconfig index cc592bcadae7..56a3ab66b46b 100644 --- a/sound/soc/sof/Kconfig +++ b/sound/soc/sof/Kconfig @@ -158,6 +158,14 @@ config SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST Say Y if you want to enable IPC flood test. If unsure, select "N". +config SND_SOC_SOF_DEBUG_RETAIN_DSP_CONTEXT + bool "SOF retain DSP context on any FW exceptions" + help + This option keeps the DSP in D0 state so that firmware debug + information can be retained and dumped to userspace. + Say Y if you want to retain DSP context for FW exceptions. + If unsure, select "N". + endif ## SND_SOC_SOF_DEBUG endif ## SND_SOC_SOF_OPTIONS |