soc: qcom: Add snapshot of System Health Monitor
This snapshot is taken as of msm-4.4 'commit <d2afad6a903b>
("Merge "ext4 crypto: enable HW based encryption with ICE"")'.
Fix the code style warnings and errors.
CRs-Fixed: 1079350
Change-Id: I67fe1dfcabbd6a260ed0d42ea332cc1b3adc38e8
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 4ac944b..548debb 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -373,3 +373,14 @@
clients to communicate over G-Link via device nodes.
This enable the userspace clients to read and write to
some glink packets channel.
+
+config MSM_SYSTEM_HEALTH_MONITOR
+ bool "System Health Monitor"
+ depends on MSM_QMI_INTERFACE && MSM_SUBSYSTEM_RESTART
+ help
+ System Health Monitor (SHM) passively monitors the health of the
+ peripherals connected to the application processor. Software
+ components in the application processor that experience
+ communication failure can request the SHM to perform a system-wide
+ health check. If any failures are detected during the health-check,
+ then a subsystem restart will be triggered for the failed subsystem.