From: Paul Walmsley <pjw@kernel.org>
To: Han Gao <gaohan@iscas.ac.cn>
Cc: Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
Han Gao <rabenda.cn@gmail.com>
Subject: Re: [PATCH] riscv: unconditionally select ARCH_KEEP_MEMBLOCK
Date: Thu, 21 May 2026 16:04:01 -0600 (MDT) [thread overview]
Message-ID: <b06ac7de-6c91-4536-1f06-56fb782150d4@kernel.org> (raw)
In-Reply-To: <20260519165546.123105-1-gaohan@iscas.ac.cn>
On Wed, 20 May 2026, Han Gao wrote:
> Select ARCH_KEEP_MEMBLOCK unconditionally. kexec requires memblock
> to be kept after boot to initialize the secondary kernel. Device
> Tree platforms also need this for kexec support.
>
> Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Thanks for the patch. If this patch is just about kexec, shouldn't
ARCH_SELECTS_KEXEC just be changed to select ARCH_KEEP_MEMBLOCK?
- Paul
next prev parent reply other threads:[~2026-05-21 22:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 16:55 Han Gao
2026-05-21 22:04 ` Paul Walmsley [this message]
2026-05-25 13:20 ` Han Gao
2026-05-28 1:01 ` Paul Walmsley
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=b06ac7de-6c91-4536-1f06-56fb782150d4@kernel.org \
--to=pjw@kernel.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=gaohan@iscas.ac.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=rabenda.cn@gmail.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
all inboxes | Powered by JetHome®