* [PATCH] arm64: dts: exynos: Add reserved memory for pstore on E850-96
@ 2023-10-08 3:36 Sam Protsenko
2023-10-12 20:02 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Sam Protsenko @ 2023-10-08 3:36 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring
Cc: Conor Dooley, Alim Akhtar, Kees Cook, Tony Luck,
Guilherme G. Piccoli, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel, linux-hardening
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 <semen.protsenko@linaro.org>
---
arch/arm64/boot/dts/exynos/exynos850-e850-96.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts b/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts
index 8d733361ef82..d54c8fa55c09 100644
--- a/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts
+++ b/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts
@@ -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";
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: exynos: Add reserved memory for pstore on E850-96
2023-10-08 3:36 [PATCH] arm64: dts: exynos: Add reserved memory for pstore on E850-96 Sam Protsenko
@ 2023-10-12 20:02 ` Krzysztof Kozlowski
2023-10-12 20:03 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-10-12 20:02 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring, Sam Protsenko
Cc: Krzysztof Kozlowski, Conor Dooley, Alim Akhtar, Kees Cook,
Tony Luck, Guilherme G. Piccoli, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel, linux-hardening
On Sat, 07 Oct 2023 22:36:33 -0500, Sam Protsenko wrote:
> 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,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: exynos: Add reserved memory for pstore on E850-96
2023-10-12 20:02 ` Krzysztof Kozlowski
@ 2023-10-12 20:03 ` Krzysztof Kozlowski
0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-10-12 20:03 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring, Sam Protsenko
Cc: Conor Dooley, Alim Akhtar, Kees Cook, Tony Luck,
Guilherme G. Piccoli, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel, linux-hardening
On 12/10/2023 22:02, Krzysztof Kozlowski wrote:
>
> On Sat, 07 Oct 2023 22:36:33 -0500, Sam Protsenko wrote:
>> 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
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-12 20:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-08 3:36 [PATCH] arm64: dts: exynos: Add reserved memory for pstore on E850-96 Sam Protsenko
2023-10-12 20:02 ` Krzysztof Kozlowski
2023-10-12 20:03 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).