lkml.org 
[lkml]   [2020]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] arm64: dts: qcom: disable the new cti nodes on devices with broken coresight
Date
From: Michael Srba <michael.srba@seznam.cz>

Attempting to enable these devices causes a "synchronous
external abort". Suspected cause is that the debug power
domain is not enabled by default on this device.
Disable these devices for now to avoid the crash.

See: https://lore.kernel.org/linux-arm-msm/20190618202623.GA53651@gerhold.net/

Fixes: b1fcc5702a41 ("arm64: dts: qcom: msm8916: Add CTI options")
Signed-off-by: Michael Srba <michael.srba@seznam.cz>

---
arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts | 6 ++++++
arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi | 6 ++++++
2 files changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
index d1ccb9472c8b..28983b871a70 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
@@ -105,6 +105,12 @@ wcnss@a21b000 {
etm@85d000 { status = "disabled"; };
etm@85e000 { status = "disabled"; };
etm@85f000 { status = "disabled"; };
+ cti@810000 { status = "disabled"; };
+ cti@811000 { status = "disabled"; };
+ cti@858000 { status = "disabled"; };
+ cti@859000 { status = "disabled"; };
+ cti@85a000 { status = "disabled"; };
+ cti@85b000 { status = "disabled"; };
};

// FIXME: Use extcon device provided by charger driver when available
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi b/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
index 43c5e0f882f1..8569a1532a3f 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
@@ -98,6 +98,12 @@ wcnss@a21b000 {
etm@85d000 { status = "disabled"; };
etm@85e000 { status = "disabled"; };
etm@85f000 { status = "disabled"; };
+ cti@810000 { status = "disabled"; };
+ cti@811000 { status = "disabled"; };
+ cti@858000 { status = "disabled"; };
+ cti@859000 { status = "disabled"; };
+ cti@85a000 { status = "disabled"; };
+ cti@85b000 { status = "disabled"; };
};

gpio-keys {
--
2.24.0
\
 
 \ /
  Last update: 2020-05-13 17:51    [W:0.427 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site