Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9aea534 authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

soc: qcom: Add snapshot of gladiator erp driver



Add support for gladiator cache interconnect error detection.
Snapshot of gladiator erp driver as of msm-4.9
commit <70be28c9d8067d0> (Merge "mmc: sdhci-msm-ice: Factor
out update config from sdhci_msm_ice_cfg").

Change-Id: Ic6d24f0535b90d916a8d1f470b391807e82e194e
Signed-off-by: default avatarKyle Yan <kyan@codeaurora.org>
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent bad906e4
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
* MSM Gladiator error reporting driver

Required properties:
- compatible: Should be "qcom,msm-gladiator" or "qcom,msm-gladiator-v2" or
"qcom,msm-gladiator-v3"
- reg: I/O address Gladiator H/W block
- reg-names: Should be "gladiator_base"
- interrupts: Should contain the gladiator error interrupt number
- clock-names: Should be "atb_clk"
- clocks: Handles to clocks specified in "clock-names" property.

Example:

qcom,msm-gladiator-v2@b1c0000 {
	compatible = "qcom,msm-gladiator";
	reg = <0xb1c0000 0xe000>;
	reg-names = "gladiator_base";
	interrupts = <0 34 0>;
	clock-names = "atb_clk";
	clocks = <&clock_gcc clk_qdss_clk>;
}
+25 −6
Original line number Diff line number Diff line
@@ -218,6 +218,25 @@ config MSM_GLADIATOR_HANG_DETECT
          gladiator hang detection and collects the context for the
          gladiator hang.

config MSM_GLADIATOR_ERP
	tristate "GLADIATOR coherency interconnect error reporting driver"
	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
	depends on MSM_GLADIATOR_ERP
	bool "Panic on GLADIATOR error report"
	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.

config QCOM_SECURE_BUFFER
	bool "Helper functions for securing buffers through TZ"
	help
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ obj-$(CONFIG_SOC_BUS) += socinfo.o
obj-$(CONFIG_MSM_BOOT_STATS) += boot_stats.o
obj-$(CONFIG_MSM_CORE_HANG_DETECT) += core_hang_detect.o
obj-$(CONFIG_MSM_GLADIATOR_HANG_DETECT) += gladiator_hang_detect.o
obj-$(CONFIG_MSM_GLADIATOR_ERP) += gladiator_erp.o
obj-$(CONFIG_QCOM_SECURE_BUFFER) += secure_buffer.o
obj-$(CONFIG_QCOM_MEMORY_DUMP_V2) += memory_dump_v2.o
obj-$(CONFIG_QCOM_WATCHDOG_V2) += watchdog_v2.o
+1130 −0

File added.

Preview size limit exceeded, changes collapsed.