From: Bjorn Andersson Date: Wed, 1 Feb 2017 10:24:24 +0000 (-0800) Subject: arm64: dts: apq8016-sbc: Add ramoops X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1b0c105b7f4d11f251b57b68e45ed65dadd1b209;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: dts: apq8016-sbc: Add ramoops Declare a ramoops memory segment to aid debugging for those without UART access. Verified to carry console log when holding volume down for 15 seconds. No memory region for ramoops-like support was found downstream, so the arbitrarily picked region is the last MB of System RAM. Cc: John Stultz Cc: Mart Raudsepp Cc: Stephen Boyd Signed-off-by: Bjorn Andersson Acked-by: Stephen Boyd Signed-off-by: Andy Gross --- diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index eac5389f2f38..a17f5b9a5de6 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi @@ -35,6 +35,17 @@ stdout-path = "serial0"; }; + reserved-memory { + ramoops@bff00000{ + compatible = "ramoops"; + reg = <0x0 0xbff00000 0x0 0x100000>; + + record-size = <0x20000>; + console-size = <0x20000>; + ftrace-size = <0x20000>; + }; + }; + soc { dma@7884000 { status = "okay";