linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: msm8992: add pstore-ramoops support
@ 2018-03-12  8:36 Jeremy McNicoll
  2018-03-14  2:44 ` Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy McNicoll @ 2018-03-12  8:36 UTC (permalink / raw)
  To: linux-arm-kernel

With the addition of this ramoops node it enables post mortem
analysis if a debug cable is not attached and/or not available.

All addresses and values were extracted from CAF AOSP marshmallow
DR 1.6.

Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com>
---
 arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
index 4542133..d1b62ef 100644
--- a/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
+++ b/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
@@ -38,4 +38,19 @@
 			pinctrl-1 = <&blsp1_uart2_sleep>;
 		};
 	};
+
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		ramoops at 1ff00000 {
+			compatible = "ramoops";
+			reg = <0x0 0x1ff00000 0x0 0x40000>;
+			console-size = <0x10000>;
+			record-size = <0x10000>;
+			ftrace-size = <0x10000>;
+			pmsg-size = <0x20000>;
+		};
+	};
 };
-- 
2.6.1

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

* [PATCH] arm64: dts: msm8992: add pstore-ramoops support
  2018-03-12  8:36 [PATCH] arm64: dts: msm8992: add pstore-ramoops support Jeremy McNicoll
@ 2018-03-14  2:44 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2018-03-14  2:44 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon 12 Mar 01:36 PDT 2018, Jeremy McNicoll wrote:

> With the addition of this ramoops node it enables post mortem
> analysis if a debug cable is not attached and/or not available.
> 
> All addresses and values were extracted from CAF AOSP marshmallow
> DR 1.6.
> 

Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

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

end of thread, other threads:[~2018-03-14  2:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12  8:36 [PATCH] arm64: dts: msm8992: add pstore-ramoops support Jeremy McNicoll
2018-03-14  2:44 ` 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).