linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: angler: add pstore-ramoops support
@ 2017-12-28  7:38 zhuoweizhang at yahoo.com
  2018-01-02 18:09 ` Kees Cook
  2018-01-12  2:33 ` Jeremy McNicoll
  0 siblings, 2 replies; 4+ messages in thread
From: zhuoweizhang at yahoo.com @ 2017-12-28  7:38 UTC (permalink / raw)
  To: linux-arm-kernel

From: Zhuowei Zhang <zhuoweizhang@yahoo.com>

Support pstore-ramoops for retrieving kernel oops and panics after reboot.

The address and configs are taken from the downstream kernel's device tree.

Signed-off-by: Zhuowei Zhang <zhuoweizhang@yahoo.com>
---
 arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
index dfa08f5..9ce3a6e 100644
--- a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
+++ b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
@@ -37,4 +37,19 @@
 			pinctrl-1 = <&blsp1_uart2_sleep>;
 		};
 	};
+
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		ramoops at 1fe00000 {
+			compatible = "ramoops";
+			reg = <0 0x1fe00000 0 0x00200000>;
+			console-size = <0x100000>;
+			record-size = <0x10000>;
+			ftrace-size = <0x10000>;
+			pmsg-size = <0x80000>;
+		};
+	};
 };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-02 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-28  7:38 [PATCH] arm64: dts: angler: add pstore-ramoops support zhuoweizhang at yahoo.com
2018-01-02 18:09 ` Kees Cook
2018-01-12  2:33 ` Jeremy McNicoll
2018-02-02 19:27   ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).