Skip to content

Commit 23e4a49

Browse files
Sam Protsenkokrzk
authored andcommitted
arm64: dts: exynos: Add reserved memory for pstore on E850-96
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]>
1 parent f28dde3 commit 23e4a49

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

arch/arm64/boot/dts/exynos/exynos850-e850-96.dts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,21 @@
141141
gpio = <&gpa3 5 GPIO_ACTIVE_LOW>;
142142
};
143143

144+
reserved-memory {
145+
#address-cells = <2>;
146+
#size-cells = <1>;
147+
ranges;
148+
149+
ramoops@f0000000 {
150+
compatible = "ramoops";
151+
reg = <0x0 0xf0000000 0x200000>;
152+
record-size = <0x20000>;
153+
console-size = <0x20000>;
154+
ftrace-size = <0x100000>;
155+
pmsg-size = <0x20000>;
156+
};
157+
};
158+
144159
/*
145160
* RTC clock (XrtcXTI); external, must be 32.768 kHz.
146161
*

0 commit comments

Comments
 (0)