[openwrt/openwrt] ipq806x: add missing enclosing reserved-memory block on C2600/AD7200

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 7 07:27:28 PST 2023


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/047fb7c76d1827e22bef96031192159e738208fb

commit 047fb7c76d1827e22bef96031192159e738208fb
Author: Filip Matijević <filip.matijevic.pz at gmail.com>
AuthorDate: Sun Feb 5 09:34:41 2023 +0100

    ipq806x: add missing enclosing reserved-memory block on C2600/AD7200
    
    Most of the time when booting kernel prints a warning from
    mm/page_alloc.c when pstore/ramoops is being initialized and ramoops is
    not functional.
    
    Fix this by moving ramopps node into reserved-memory block as described
    in kernel documentation.
    
    Fixes: 2964e5024c ("ipq806x: kernel ramoops storage for C2600/AD7200")
    Signed-off-by: Filip Matijević <filip.matijevic.pz at gmail.com>
---
 .../arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi   | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi
index 576393015a..7b352edb9b 100644
--- a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi
+++ b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi
@@ -10,14 +10,16 @@
 		device_type = "memory";
 	};
 
-	ramoops at 42100000 {
-		compatible = "ramoops";
-		reg = <0x42100000 0x40000>;
-		record-size = <0x4000>;
-		console-size = <0x4000>;
-		ftrace-size = <0x4000>;
-		pmsg-size = <0x4000>;
-	};
+	reserved-memory {
+                ramoops at 42100000 {
+                        compatible = "ramoops";
+                        reg = <0x42100000 0x40000>;
+                        record-size = <0x4000>;
+                        console-size = <0x4000>;
+                        ftrace-size = <0x4000>;
+                        pmsg-size = <0x4000>;
+                };
+        };
 
 	aliases {
 		mdio-gpio0 = &mdio0;




More information about the lede-commits mailing list