ARM: dts: aspeed: Everest and Rainier: Enable ftrace in ramoops buffer
Subsystems (2)
PATCH 1/1 ARM: dts: aspeed: Everest and Rainier: Enable ftrace in ramoops buffer
Increase the size of the buffer and set the ftrace-size property in order to collect event tracing during a crash.
Signed-off-by Eddie James <[email protected]>
--- arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 3 ++- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts +2 -1
@@ -171,9 +171,10 @@ flash_memory: region@b8000000 { /* 48MB region from the end of flash to start of vga memory */ ramoops@bc000000 { compatible = "ramoops"; - reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */ + reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */ record-size = <0x8000>; console-size = <0x8000>; + ftrace-size = <0x8000>; pmsg-size = <0x8000>; max-reason = <3>; /* KMSG_DUMP_EMERG */ };
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +2 -1
@@ -102,9 +102,10 @@ flash_memory: region@b8000000 { ramoops@bc000000 { compatible = "ramoops"; - reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */ + reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */ record-size = <0x8000>; console-size = <0x8000>; + ftrace-size = <0x8000>; pmsg-size = <0x8000>; max-reason = <3>; /* KMSG_DUMP_EMERG */ };
Signature · 1 line
2.27.0