mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Han Gao <rabenda.cn@gmail.com>
To: Paul Walmsley <pjw@kernel.org>
Cc: Han Gao <gaohan@iscas.ac.cn>, 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,
	Vivian Wang <wangruikang@iscas.ac.cn>
Subject: Re: [PATCH] riscv: unconditionally select ARCH_KEEP_MEMBLOCK
Date: Mon, 25 May 2026 21:20:08 +0800	[thread overview]
Message-ID: <CAAT7Ki-WDPpfdvB6MHdJW9Uas_jKVGeNjaOPvvpsPkO2wG-9oQ@mail.gmail.com> (raw)
In-Reply-To: <b06ac7de-6c91-4536-1f06-56fb782150d4@kernel.org>

On Fri, May 22, 2026 at 6:04 AM Paul Walmsley <pjw@kernel.org> wrote:
>
> 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?
It's currently aligned with the arm64 architecture. If so, should we
modify it accordingly?

>
>
> - Paul

  reply	other threads:[~2026-05-25 13:20 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
2026-05-25 13:20   ` Han Gao [this message]
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=CAAT7Ki-WDPpfdvB6MHdJW9Uas_jKVGeNjaOPvvpsPkO2wG-9oQ@mail.gmail.com \
    --to=rabenda.cn@gmail.com \
    --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=pjw@kernel.org \
    --cc=wangruikang@iscas.ac.cn \
    /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®