All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] kexec-tool:bug fix for crashdump load on riscv
@ 2026-05-18  6:57 hu.shengming
  2026-05-18  6:59 ` [PATCH 1/3] RISC-V: fix crashdump load memory ranges hu.shengming
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: hu.shengming @ 2026-05-18  6:57 UTC (permalink / raw)
  To: horms, kexec; +Cc: luo.haiyang, zhang.run, yang.tao172

From: Luo Haiyang <luo.haiyang@zte.com.cn>

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/20260513171150519t11GTC14QEEV4EgIurNHM@zte.com.cn/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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-05-20  9:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-18  6:57 [PATCH v2 0/3] kexec-tool:bug fix for crashdump load on riscv hu.shengming
2026-05-18  6:59 ` [PATCH 1/3] RISC-V: fix crashdump load memory ranges hu.shengming
2026-05-18  7:00 ` [PATCH 2/3] RISCV: Fix incorrect virtual address translation in crashdump load hu.shengming
2026-05-18  7:01 ` [PATCH 3/3] RISC-V: add bss section to kernel text elf header hu.shengming
2026-05-19 12:44   ` Simon Horman
2026-05-20  7:35     ` hu.shengming
2026-05-20  9:30       ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.