diff options
author | Steven Rostedt (Google) <[email protected]> | 2024-06-13 11:55:08 -0400 |
---|---|---|
committer | Mike Rapoport (IBM) <[email protected]> | 2024-06-19 18:05:14 +0300 |
commit | d9d814eebb1ae9742e7fd7f39730653b16326bd4 (patch) | |
tree | dcb83a31c4cf188d2f225ef870ca2d8c14f8ef41 /rust/kernel/task.rs | |
parent | 1e4c64b71c9bf230b25fde12cbcceacfdc8b3332 (diff) |
pstore/ramoops: Add ramoops.mem_name= command line option
Add a method to find a region specified by reserve_mem=nn:align:name for
ramoops. Adding a kernel command line parameter:
reserve_mem=12M:4096:oops ramoops.mem_name=oops
Will use the size and location defined by the memmap parameter where it
finds the memory and labels it "oops". The "oops" in the ramoops option
is used to search for it.
This allows for arbitrary RAM to be used for ramoops if it is known that
the memory is not cleared on kernel crashes or soft reboots.
Tested-by: Guilherme G. Piccoli <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Acked-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions