]> Git Repo - linux.git/commitdiff
arm64: dts: exynos: Add reserved memory for pstore on E850-96
authorSam Protsenko <[email protected]>
Sun, 8 Oct 2023 03:36:33 +0000 (22:36 -0500)
committerKrzysztof Kozlowski <[email protected]>
Thu, 12 Oct 2023 20:01:49 +0000 (22:01 +0200)
Reserve a 2 MiB memory region to record kmsg dumps, console, ftrace and
userspace messages. The implemented memory split allows capturing and
reading corresponding ring buffers:
  * dmesg: 6 dumps, 128 KiB each
  * console: 128 KiB
  * ftrace: 128 KiB for each of 8 CPUs (1 MiB total)
  * userspace messages: 128 KiB

Signed-off-by: Sam Protsenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[krzysztof: move the node to alphabetically sorted position]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
arch/arm64/boot/dts/exynos/exynos850-e850-96.dts

index 8d733361ef8219b245437c6861b406eafea28943..f074df8982b3e69ea77c73e9f7db24ead0f66d75 100644 (file)
                gpio = <&gpa3 5 GPIO_ACTIVE_LOW>;
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <1>;
+               ranges;
+
+               ramoops@f0000000 {
+                       compatible = "ramoops";
+                       reg = <0x0 0xf0000000 0x200000>;
+                       record-size = <0x20000>;
+                       console-size = <0x20000>;
+                       ftrace-size = <0x100000>;
+                       pmsg-size = <0x20000>;
+               };
+       };
+
        /*
         * RTC clock (XrtcXTI); external, must be 32.768 kHz.
         *
This page took 0.056408 seconds and 4 git commands to generate.