From: Luo Haiyang <[email protected]>

This patchset fixes kexec-tool related to crashdump load on riscv

patch 1: crashload should use all system RAM but crash reserved memory.
patch 2: make the phys_to_virt function return the correct value.
patch 3: vmcore-dmesg accesses the address located in the bss segment,
         so add bss segment to the kernel text elf.

Changes from v1:
- 
https://lore.kernel.org/kexec/[email protected]/T/#u
- Add patch 2 and patch 3 to fix other bug

Luo Haiyang (3):
  RISC-V: fix crashdump load memory ranges
  RISCV: Fix incorrect virtual address translation in crashdump load
  RISC-V: add bss section to kernel text elf header

 kexec/arch/riscv/Makefile          |   2 +
 kexec/arch/riscv/crashdump-riscv.c | 218 +++++++++++++++++++----------
 kexec/arch/riscv/iomem.h           |   1 +
 util_lib/elf_info.c                |  41 ++++--
 util_lib/include/elf_info.h        |   1 +
 5 files changed, 181 insertions(+), 82 deletions(-)

-- 
2.27.0

Reply via email to