diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2020-10-22 04:47:30 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2020-11-19 08:20:34 +0300 |
commit | c7b74131c755bb73eb836bcb46fcc28fbab39717 (patch) | |
tree | e2f27d40598303fa6319401ce589be4c29514439 /arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | |
parent | cbee028da69d31cb927142e2828710de55a49f2a (diff) | |
download | linux-c7b74131c755bb73eb836bcb46fcc28fbab39717.tar.xz |
ARM: dts: rainier: Add reserved memory for ramoops
Reserve a 1.5MiB region of memory to record kmsg dumps, console and
userspace message state into 16kiB ring-buffer slots. The sizing allows
for up to 16 dumps to be captured and read out.
Set max-reason to KMSG_DUMP_EMERG to capture bad-path reboots.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20201022014731.2035438-6-andrew@aj.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts index ac649fde802e..63123bf137e3 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts @@ -52,6 +52,15 @@ reg = <0xB8000000 0x04000000>; /* 64M */ }; + ramoops@bc000000 { + compatible = "ramoops"; + reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */ + record-size = <0x8000>; + console-size = <0x8000>; + pmsg-size = <0x8000>; + max-reason = <3>; /* KMSG_DUMP_EMERG */ + }; + vga_memory: region@bf000000 { no-map; compatible = "shared-dma-pool"; |