Re: [RESEND PATCH v4 0/4] kexec- tool:bug fix for crashdump load on riscv

Simon Horman <[email protected]> Mon, 20 Jul 2026 10:31:01 +0100
Newsgroups org.infradead.lists.kexec
Message-ID <[email protected]>
On Wed, Jun 24, 2026 at 03:19:34PM +0800, [email protected] wrote:
> 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,
> use kernel image to creat kernel text elf header.
> patch 4: due to the kernel image being additionally exported in /proc/iomem,
> the kernel memory range is not correctly handled by to_be_excluded.
> 
> Changes from v3:
> - sorry for the incorrect email format in the previous submission.
> 
> Changes from v2:
> - use kernel image to creat kernel text elf header
> - do not exclude kernel memory range
> - https://lore.kernel.org/kexec/[email protected]/T/#md89827a089395745d3bd361889e4f3c490641732
> 
> Changes from v1:
> - Add patch 2 and patch 3 to fix other bug
> - https://lore.kernel.org/kexec/[email protected]/T/#u

Sorry for the extended delay.

Applied:
- RISC-V: kernel image memory rang should not be excluded
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=8ec8f4156d10
- RISC-V: use kernel image to creat kernel text elf header
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=e7cd74c17c82
- RISCV: Fix incorrect virtual address translation in crashdump load
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=71a968623b94
- RISC-V: fix crashdump load memory ranges
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=bbcce8a3d4ef