diff options
| author | Nick Kossifidis <[email protected]> | 2021-04-19 00:55:39 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2021-04-26 15:25:24 +0000 |
| commit | 5640975003d0234da08559677e22ec25b9cb3267 (patch) | |
| tree | a6707467c591146b277e5d846ef5d8fbe9d01bea /drivers/net/xen-netback/interface.c | |
| parent | RISC-V: Add kdump support (diff) | |
| download | kernel-5640975003d0234da08559677e22ec25b9cb3267.tar.gz kernel-5640975003d0234da08559677e22ec25b9cb3267.zip | |
RISC-V: Add crash kernel support
This patch allows Linux to act as a crash kernel for use with
kdump. Userspace will let the crash kernel know about the
memory region it can use through linux,usable-memory property
on the /memory node (overriding its reg property), and about the
memory region where the elf core header of the previous kernel
is saved, through a reserved-memory node with a compatible string
of "linux,elfcorehdr". This approach is the least invasive and
re-uses functionality already present.
I tested this on riscv64 qemu and it works as expected, you
may test it by retrieving the dmesg of the previous kernel
through /proc/vmcore, using the vmcore-dmesg utility from
kexec-tools.
Signed-off-by: Nick Kossifidis <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
