aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeepak Katragadda <dkatraga@codeaurora.org>2014-10-16 14:23:48 -0700
committerDeepak Katragadda <dkatraga@codeaurora.org>2015-04-13 09:51:50 -0700
commitf985c832de1701ad3839c6f7a264d7dab6961bbd (patch)
treed4b3f0f840a1884c01280a5f1ac1c8e157677ebd /include
parent233b09f6015773b72116bbdd02e159fbc18ad51f (diff)
downloadqcom-msm-v3.10-f985c832de1701ad3839c6f7a264d7dab6961bbd.tar.gz
qcom: ssr: Allow taking system ramdumps when system_debug is set
Add a new system_debug subsystem property. This is set as "reset" by default. When this parameter is listed as "set" for a subsystem and a wdog bite happens, the SSR framework goes ahead and triggers a kernel panic. This feature is strictly intented only for debugging cases where a system ramdump is more desirable than subsystem ramdumps. CRs-Fixed: 746414 Change-Id: Ie8f364fe0f9fd8f417f080135ab497e816f7fcf4 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/soc/qcom/subsystem_restart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/soc/qcom/subsystem_restart.h b/include/soc/qcom/subsystem_restart.h
index 61007a32528..3c0fc0102e9 100644
--- a/include/soc/qcom/subsystem_restart.h
+++ b/include/soc/qcom/subsystem_restart.h
@@ -45,6 +45,8 @@ struct module;
* @ssctl_instance_id: Instance id used to connect with SSCTL service
* @sysmon_pid: pdev id that sysmon is probed with for the subsystem
* @sysmon_shutdown_ret: Return value for the call to sysmon_send_shutdown
+ * @system_debug: If "set", triggers a device restart when the
+ * subsystem's wdog bite handler is invoked.
*/
struct subsys_desc {
const char *name;
@@ -72,6 +74,7 @@ struct subsys_desc {
int ssctl_instance_id;
u32 sysmon_pid;
int sysmon_shutdown_ret;
+ bool system_debug;
};
/**