drivers: soc: Add snapshot of gladiator erp driver
This is a snapshot of gladiator_erp_v2 driver as of msm-4.4 commit
<0c8cf71>.
Change-Id: I9911c56dcb7d02468ae434c98456a5f20dd5819a
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 2fe288c..b4014e6 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -88,3 +88,22 @@
If the configured threshold is reached, it causes SoC reset on
gladiator hang detection and collects the context for the
gladiator hang.
+
+config MSM_GLADIATOR_ERP_V2
+ tristate "GLADIATOR coherency interconnect error reporting driver v2"
+ help
+ Support dumping debug information for the GLADIATOR
+ cache interconnect in the error interrupt handler.
+ Meant to be used for debug scenarios only.
+
+ If unsure, say N.
+
+config PANIC_ON_GLADIATOR_ERROR_V2
+ depends on MSM_GLADIATOR_ERP_V2
+ bool "Panic on GLADIATOR error report v2"
+ help
+ Panic upon detection of an Gladiator coherency interconnect error
+ in order to support dumping debug information.
+ Meant to be used for debug scenarios only.
+
+ If unsure, say N.