提交 09603f80 编写于 作者: E Eddie James 提交者: Joel Stanley

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: NEddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20211202224525.29178-1-eajames@linux.ibm.comSigned-off-by: NJoel Stanley <joel@jms.id.au>
上级 454a9fb7
...@@ -171,9 +171,10 @@ ...@@ -171,9 +171,10 @@
/* 48MB region from the end of flash to start of vga memory */ /* 48MB region from the end of flash to start of vga memory */
ramoops@bc000000 { ramoops@bc000000 {
compatible = "ramoops"; compatible = "ramoops";
reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */ reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */
record-size = <0x8000>; record-size = <0x8000>;
console-size = <0x8000>; console-size = <0x8000>;
ftrace-size = <0x8000>;
pmsg-size = <0x8000>; pmsg-size = <0x8000>;
max-reason = <3>; /* KMSG_DUMP_EMERG */ max-reason = <3>; /* KMSG_DUMP_EMERG */
}; };
......
...@@ -102,9 +102,10 @@ ...@@ -102,9 +102,10 @@
ramoops@bc000000 { ramoops@bc000000 {
compatible = "ramoops"; compatible = "ramoops";
reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */ reg = <0xbc000000 0x200000>; /* 16 * (4 * 0x8000) */
record-size = <0x8000>; record-size = <0x8000>;
console-size = <0x8000>; console-size = <0x8000>;
ftrace-size = <0x8000>;
pmsg-size = <0x8000>; pmsg-size = <0x8000>;
max-reason = <3>; /* KMSG_DUMP_EMERG */ max-reason = <3>; /* KMSG_DUMP_EMERG */
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册