mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
ARM: dts: tacoma: 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-7-andrew@aj.id.au Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
parent
c7b74131c7
commit
c1fc133f5b
1 changed files with 9 additions and 0 deletions
|
@ -31,6 +31,15 @@ flash_memory: region@b8000000 {
|
||||||
reg = <0xb8000000 0x4000000>; /* 64M */
|
reg = <0xb8000000 0x4000000>; /* 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 {
|
vga_memory: region@bf000000 {
|
||||||
no-map;
|
no-map;
|
||||||
compatible = "shared-dma-pool";
|
compatible = "shared-dma-pool";
|
||||||
|
|
Loading…
Reference in a new issue