Commit 09603f80 authored by Eddie James's avatar Eddie James Committed by Joel Stanley
Browse files

ARM: dts: aspeed: p10bmc: 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: default avatarEddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20211202224525.29178-1-eajames@linux.ibm.com


Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 454a9fb7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 */
		};
+2 −1
Original line number Diff line number Diff line
@@ -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 */
		};