From: Simon Horman <horms@kernel.org>
To: Pnina Feder <pnina.feder@mobileye.com>
Cc: horms@verge.net.au, kexec@lists.infradead.org
Subject: Re: [PATCH] util_lib: Add direct map fallback in vaddr_to_offset()
Date: Tue, 11 Nov 2025 13:52:58 +0000 [thread overview]
Message-ID: <aRM_uuDPsZD4f1ei@horms.kernel.org> (raw)
In-Reply-To: <20251106120344.2382695-1-pnina.feder@mobileye.com>
On Thu, Nov 06, 2025 at 02:03:44PM +0200, Pnina Feder wrote:
> The vmcore-dmesg tool could fail with the message:
> "No program header covering vaddr 0x%llx found kexec bug?"
>
> This occurred when a virtual address belonged to the kernel’s direct
> mapping region, which may not be covered by any PT_LOAD segment in
> the vmcore ELF headers.
>
> Add a direct-map fallback in vaddr_to_offset() that converts such
> virtual addresses using the known page and physical offsets. This
> allows resolving these addresses correctly.
>
> Tested on Linux 6.16 (RISC-V)
>
> Signed-off-by: Pnina Feder <pnina.feder@mobileye.com>
Thanks, applied.
- util_lib: Add direct map fallback in vaddr_to_offset()
https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=393c449aec3d
prev parent reply other threads:[~2025-11-11 13:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-06 12:03 [PATCH] util_lib: Add direct map fallback in vaddr_to_offset() Pnina Feder
2025-11-11 13:52 ` Simon Horman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aRM_uuDPsZD4f1ei@horms.kernel.org \
--to=horms@kernel.org \
--cc=horms@verge.net.au \
--cc=kexec@lists.infradead.org \
--cc=pnina.feder@mobileye.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).