diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-05-16 12:11:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-17 11:57:58 +0100 |
commit | 2f1f570cd730c81807ae143a83766068dd82d577 (patch) | |
tree | 2862bf00696946014d8401c81f9b90bc0235c012 /sound/soc/intel/avs/messages.h | |
parent | d070002a20fc071c6f14c2fd8ff5ebeabead8d2a (diff) | |
download | linux-2f1f570cd730c81807ae143a83766068dd82d577.tar.bz2 |
ASoC: Intel: avs: Coredump and recovery flow
In rare occasions, under stress conditions or hardware malfunction, DSP
firmware may fail. Software is notified about such situation with
EXCEPTION_CAUGHT notification. IPC timeout is also counted as critical
device failure. More often than not, driver can recover from such
situations by performing full reset: killing and restarting ADSP.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220516101116.190192-7-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/avs/messages.h')
-rw-r--r-- | sound/soc/intel/avs/messages.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/intel/avs/messages.h b/sound/soc/intel/avs/messages.h index 0395dd7150eb..94875a153124 100644 --- a/sound/soc/intel/avs/messages.h +++ b/sound/soc/intel/avs/messages.h @@ -187,6 +187,7 @@ enum avs_notify_msg_type { AVS_NOTIFY_PHRASE_DETECTED = 4, AVS_NOTIFY_RESOURCE_EVENT = 5, AVS_NOTIFY_FW_READY = 8, + AVS_NOTIFY_EXCEPTION_CAUGHT = 10, AVS_NOTIFY_MODULE_EVENT = 12, }; @@ -205,6 +206,10 @@ union avs_notify_msg { }; union { u32 val; + struct { + u32 core_id:2; + u32 stack_dump_size:16; + } coredump; } ext; }; } __packed; |