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

Commit 2ce97887 authored by Runmin Wang's avatar Runmin Wang
Browse files

soc: qcom: Add support for gladiator error reporting v2



Add support for gladiator cache inter connect error detection
and reporting for msmcobalt.

CRs-Fixed: 980159
Change-Id: I1ac0e885adadf0bcc67b670c550ecfaa03187c08
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent 17d7bd58
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
* MSM Gladiator error reporting driver

Required properties:
- compatible: Should be "qcom,msm-gladiator-v2"
- 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-v2";
	reg = <0xb1c0000 0xe000>;
	reg-names = "gladiator_base";
	interrupts = <0 34 0>;
	clock-names = "atb_clk";
	clocks = <&clock_gcc clk_qdss_clk>;
}
+19 −0
Original line number Diff line number Diff line
@@ -58,6 +58,25 @@ config PANIC_ON_GLADIATOR_ERROR

	  If unsure, say N.

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.

config MSM_QDSP6_APRV3
	bool "Audio QDSP6 APRv3 support"
	depends on MSM_SMD
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ ccflags-$(CONFIG_MSM_QBT1000) += -Idrivers/misc/

obj-$(CONFIG_MSM_INRUSH_CURRENT_MITIGATION) += inrush-current-mitigation.o
obj-$(CONFIG_MSM_GLADIATOR_ERP) += gladiator_erp.o
obj-$(CONFIG_MSM_GLADIATOR_ERP_V2) += gladiator_erp_v2.o
obj-$(CONFIG_ARM64) += idle-v8.o cpu_ops.o
obj-$(CONFIG_MSM_BOOT_STATS) += boot_stats.o
obj-$(CONFIG_MSM_RUN_QUEUE_STATS) += msm_rq_stats.o
+814 −0

File added.

Preview size limit exceeded, changes collapsed.