Skip to contentSkip to conversation

ARM: dts: qcom: msm8974pro-samsung-klte: Add pstore node

PATCH Applied Bingwu Zhang 2 participants 2 messages Jul 15, 2024 – Jul 29, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: qcom: msm8974pro-samsung-klte: Add pstore node

From: Bingwu Zhang <[email protected]>

Add pstore node to allow for retrieving crash logs.

---
Changes in v2:
Add a label to reserved-memory and extend it to avoid duplicating nodes.

---
 arch/arm/boot/dts/qcom/qcom-msm8974.dtsi            |  2 +-
 .../qcom/qcom-msm8974pro-samsung-klte-common.dtsi   | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
arch/arm/boot/dts/qcom/qcom-msm8974.dtsi +1 -1
index 15568579459a..19c12686831b 100644
@@ -149,7 +149,7 @@ rpmcc: clock-controller {
 		};
 	};
 
-	reserved-memory {
+	reserved_memory: reserved-memory {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi +13 -0
index b5443fd5b425..d3959741d2ea 100644
@@ -438,6 +438,19 @@ fuelgauge_pin: fuelgauge-int-state {
 	};
 };
 
+&reserved_memory {
+	ramoops@3e8e0000 {
+		compatible = "ramoops";
+		reg = <0x3e8e0000 0x200000>;
+
+		console-size = <0x100000>;
+		record-size = <0x10000>;
+		ftrace-size = <0x10000>;
+		pmsg-size = <0x80000>;
+		ecc-size = <8>;
+	};
+};
+
 &remoteproc_adsp {
 	status = "okay";
 	cx-supply = <&pma8084_s2>;

base-commit: 6fd4da15c334831a865d4700ceb3ff5a917163e3

Signature · 1 line
2.45.2
maintainer Applied
#1 lore raw
Quoted 3 lines · Bingwu Zhang

Add pstore node to allow for retrieving crash logs.

Applied, thanks!

[1/1] ARM: dts: qcom: msm8974pro-samsung-klte: Add pstore node

      commit: 56080a49773935fb899c6559c390a5f8439b5632

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>