* [PATCH v1 1/1] ARM: dts: aspeed: yosemite4: allocate ramoops for kernel panic
@ 2025-09-16 3:40 Zane Li
2025-09-17 1:00 ` Andrew Jeffery
0 siblings, 1 reply; 4+ messages in thread
From: Zane Li @ 2025-09-16 3:40 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery, Kees Cook, Tony Luck,
Guilherme G. Piccoli
Cc: Zane Li, Zane Li, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, linux-hardening
Reserve a ramoops memory region in the Yosemite4 device tree so that
kernel panic logs can be preserved across reboots. This helps with
post-mortem debugging and crash analysis.
Signed-off-by: Zane Li <zane_li@wiwynn.com>
---
.../dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
index aae789854c52..4ec1abae1175 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -49,6 +49,20 @@ memory@80000000 {
reg = <0x80000000 0x80000000>;
};
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+ ramoops@b8dfa000 {
+ compatible = "ramoops";
+ reg = <0xb8dfa000 0x6000>;
+ record-size = <0x2000>;
+ console-size = <0x2000>;
+ pmsg-size = <0x2000>;
+ max-reason = <1>;
+ };
+ };
+
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH v1 1/1] ARM: dts: aspeed: yosemite4: allocate ramoops for kernel panic
2025-09-16 3:40 [PATCH v1 1/1] ARM: dts: aspeed: yosemite4: allocate ramoops for kernel panic Zane Li
@ 2025-09-17 1:00 ` Andrew Jeffery
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Jeffery @ 2025-09-17 1:00 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Kees Cook, Tony Luck, Guilherme G. Piccoli,
Zane Li
Cc: Zane Li, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, linux-hardening
On Tue, 16 Sep 2025 11:40:35 +0800, Zane Li wrote:
> Reserve a ramoops memory region in the Yosemite4 device tree so that
> kernel panic logs can be preserved across reboots. This helps with
> post-mortem debugging and crash analysis.
>
>
Thanks, I've applied this to the BMC tree.
--
Andrew Jeffery <andrew@codeconstruct.com.au>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v1 1/1] ARM: dts: aspeed: yosemite4: allocate ramoops for kernel panic
@ 2025-09-11 0:50 Delphine CC Chiu
0 siblings, 0 replies; 4+ messages in thread
From: Delphine CC Chiu @ 2025-09-11 0:50 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery, Kees Cook, Tony Luck,
Guilherme G. Piccoli
Cc: Zane Li, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, linux-hardening
Reserve a ramoops memory region in the Yosemite4 device tree so that
kernel panic logs can be preserved across reboots. This helps with
post-mortem debugging and crash analysis.
Signed-off-by: Zane Li <zane_li@wiwynn.com>
---
.../dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
index aae789854c52..4ec1abae1175 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -49,6 +49,20 @@ memory@80000000 {
reg = <0x80000000 0x80000000>;
};
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+ ramoops@b8dfa000 {
+ compatible = "ramoops";
+ reg = <0xb8dfa000 0x6000>;
+ record-size = <0x2000>;
+ console-size = <0x2000>;
+ pmsg-size = <0x2000>;
+ max-reason = <1>;
+ };
+ };
+
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH v1 1/1] ARM: dts: aspeed: yosemite4: allocate ramoops for kernel panic
@ 2025-09-05 1:40 Delphine CC Chiu
0 siblings, 0 replies; 4+ messages in thread
From: Delphine CC Chiu @ 2025-09-05 1:40 UTC (permalink / raw)
To: patrick, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Joel Stanley, Andrew Jeffery, Kees Cook, Tony Luck,
Guilherme G. Piccoli
Cc: Zane Li, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, linux-hardening
From: Zane Li <zane_li@wiwynn.com>
Reserve a ramoops memory region in the Yosemite4 device tree so that
kernel panic logs can be preserved across reboots. This helps with
post-mortem debugging and crash analysis.
Signed-off-by: Zane Li <zane_li@wiwynn.com>
---
.../dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
index aae789854c52..4ec1abae1175 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -49,6 +49,20 @@ memory@80000000 {
reg = <0x80000000 0x80000000>;
};
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+ ramoops@b8dfa000 {
+ compatible = "ramoops";
+ reg = <0xb8dfa000 0x6000>;
+ record-size = <0x2000>;
+ console-size = <0x2000>;
+ pmsg-size = <0x2000>;
+ max-reason = <1>;
+ };
+ };
+
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-17 1:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-16 3:40 [PATCH v1 1/1] ARM: dts: aspeed: yosemite4: allocate ramoops for kernel panic Zane Li
2025-09-17 1:00 ` Andrew Jeffery
-- strict thread matches above, loose matches on Subject: below --
2025-09-11 0:50 Delphine CC Chiu
2025-09-05 1:40 Delphine CC Chiu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®