arm64: dts: exynos: Add reserved memory for pstore on E850-96
Sam Protsenko
maintainerPATCH 1/1 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
--- arch/arm64/boot/dts/exynos/exynos850-e850-96.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/exynos/exynos850-e850-96.dts +15 -0
@@ -59,6 +59,21 @@ memory@80000000 { <0x8 0x80000000 0x80000000>; }; + 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>; + }; + }; + gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default";
Signature · 1 line
2.39.2
Krzysztof Kozlowski
AppliedQuoted 9 lines · Sam Protsenko
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[...]
Applied, thanks!
[1/1] arm64: dts: exynos: Add reserved memory for pstore on E850-96
https://git.kernel.org/krzk/linux/c/23e4a49943624dd83199989c852565a3ff760fa7
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
Quoted 10 lines · Krzysztof Kozlowski
Quoted 8 lines · Sam Protsenko
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
Quoted 6 lines
Quoted 1 line
[...]
Applied, thanks!
[1/1] arm64: dts: exynos: Add reserved memory for pstore on E850-96
https://git.kernel.org/krzk/linux/c/23e4a49943624dd83199989c852565a3ff760fa7
Thanks, applied.
It is however very late in the cycle, so there is a chance this will miss the merge window. If this happens, I will keep it for the next cycle (no need for resending).
Best regards,
Krzysztof