[RFC][PATCH] arm: dts: qcom: apq8064-nexus7: Add pstore support to nexus7

John Stultz john.stultz at linaro.org
Sat Sep 24 00:13:33 UTC 2016


Add pstore support for the nexus7. This was useful in debugging
a crash where the cpus were getting stuck with irqs off and
serial output wasn't reliably working.

Cc: Kees Cook <keescook at chromium.org>
Cc: Bjorn Andersson <bjorn.andersson at linaro.org>
Cc: Rob Clark <robdclark at gmail.com>
Cc: Stephen Boyd <sboyd at codeaurora.org>
Cc: Andy Gross <andy.gross at linaro.org>
Cc: Vinay Simha <vinaysimha at inforcecomputing.com>
Cc: Archit Taneja <architt at codeaurora.org>
Cc: linux-arm-msm at vger.kernel.org
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: John Stultz <john.stultz at linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
index 7637092..3005576 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -15,6 +15,20 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		ramoops at 0x88d00000{
+			compatible = "ramoops";
+			reg = <0x88d00000 0x100000>;
+			record-size     = <0x00020000>;
+			console-size    = <0x00020000>;
+			ftrace-size     = <0x00020000>;
+		};
+	};
+
 	ext_3p3v: regulator-fixed at 1 {
 		compatible = "regulator-fixed";
 		regulator-min-microvolt = <3300000>;
-- 
1.9.1



More information about the dri-devel mailing list