All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@kernel.org>
To: Sourabh Jain <sourabhjain@linux.ibm.com>
Cc: kexec@lists.infradead.org, Shivang Upadhyay <shivangu@linux.ibm.com>
Subject: Re: [PATCH] ppc64: Reserve FDT memory for full elfcorehdr memory size
Date: Tue, 17 Feb 2026 16:11:37 +0000	[thread overview]
Message-ID: <aZSTOR0MuaCTjEb2@horms.kernel.org> (raw)
In-Reply-To: <20260210050536.285923-1-sourabhjain@linux.ibm.com>

On Tue, Feb 10, 2026 at 10:35:36AM +0530, Sourabh Jain wrote:
> With --hotplug support, extra memory is added to elfcorehdr kexec
> segment to accommodate additional resources during memory hotplug
> events. However, the FDT is not updated with the same size, which
> can lead to elfcorehdr corruption in the kdump kernel.
> 
> Fix this by updating the elfcorehdr size in the FDT memory
> reservation entry to use its actual memsz instead of the current
> buffer size.
> 
> Fixes: b8408c95e7c0 ("powerpc/kexec_load: add hotplug support")
> Cc: Shivang Upadhyay <shivangu@linux.ibm.com>
> Cc: Simon Horman <horms@kernel.org>
> Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>

Thanks, applied.

- ppc64: Reserve FDT memory for full elfcorehdr memory size
  https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=600c2f9512b5


      reply	other threads:[~2026-02-17 16:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-10  5:05 [PATCH] ppc64: Reserve FDT memory for full elfcorehdr memory size Sourabh Jain
2026-02-17 16:11 ` 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=aZSTOR0MuaCTjEb2@horms.kernel.org \
    --to=horms@kernel.org \
    --cc=kexec@lists.infradead.org \
    --cc=shivangu@linux.ibm.com \
    --cc=sourabhjain@linux.ibm.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 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.