SimonHorman <[email protected]> wrote: >On Thu, May 21, 2026 at 12:09:46PM +0800, [email protected] wrote: >> From: Luo Haiyang <[email protected]> >> >> The kexec shows the following crashdump log: >> >> Elf header: p_type = 1, p_offset = 0x80100000 p_paddr = 0x80100000 p_vaddr = >> 0xcff000 ... >> Elf header: p_type = 1, p_offset = 0x100000000 p_paddr = 0x100000000 p_vaddr >> = 0x80bff000 ... >> Elf header: p_type = 1, p_offset = 0x87ffff000 p_paddr = 0x87ffff000 p_vaddr >> = 0x800bfe000 ... >> >> Obviously, phys_to_virt returns an incorrect virtual address (vaddr). On the >> RISC-V architecture, >> the linear address mapping is defined as: >> va = pa + kernel_map.va_pa_offset (kernel_map.va_pa_offset = PAGE_OFFSET - >> phys_ram_base) >> Both PAGE_OFFSET and phys_ram_base can be read from /proc/kcore. >> >> Signed-off-by: Luo Haiyang <[email protected]> > >Hi, > >Unfortunately this patch seems to be somewhat mangled >and does not apply. Could you look into that?
Seems something got broken, I've resent the patch. Could you please see if it works? Thanks Luo haiyang
