mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
Cc: kexec@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] arch, kexec: declare kexec and crash capabilities in Kconfig.kexec
Date: Sat, 21 Nov 2026 19:42:43 +0100	[thread overview]
Message-ID: <a35eccbf-2db2-47cd-8601-925a010406ca@gmx.de> (raw)
In-Reply-To: <20261119080327.12916Ac7-hca@linux.ibm.com>

On 11/19/26 09:03, Heiko Carstens wrote:
> On Thu, Nov 19, 2026 at 08:16:58AM +0200, Mike Rapoport (Microsoft) wrote:
>> The options that let an architecture opt in to kexec and crash dump
>> features, like ARCH_SUPPORTS_KEXEC or ARCH_SUPPORTS_CRASH_DUMP, are
>> defined in each architecture's Kconfig as def_bool, and most of them are
>> copied over several architectures.
>>
>> Declare these options once in kernel/Kconfig.kexec next to the options
>> that depend on them, similarly to how mm/Kconfig does it, and make the
>> architectures select them instead.
>>
>> Selection conditions are preserved, so there is no functional change.
>>
>> Acked-by: Baoquan He <baoquan.he@linux.dev>
>> Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
>> ---
>>   arch/arm/Kconfig       | 12 +++---------
>>   arch/arm64/Kconfig     | 36 +++++++++---------------------------
>>   arch/loongarch/Kconfig | 20 +++++---------------
>>   arch/m68k/Kconfig      |  4 +---
>>   arch/mips/Kconfig      | 12 +++---------
>>   arch/parisc/Kconfig    |  8 ++------
>>   arch/powerpc/Kconfig   | 30 +++++++-----------------------
>>   arch/riscv/Kconfig     | 28 +++++++---------------------
>>   arch/s390/Kconfig      | 28 ++++++----------------------
>>   arch/sh/Kconfig        | 16 ++++------------
>>   arch/x86/Kconfig       | 48 ++++++++++++------------------------------------
>>   kernel/Kconfig.kexec   | 42 ++++++++++++++++++++++++++++++++++++++++++
>>   12 files changed, 101 insertions(+), 183 deletions(-)
> 
> Acked-by: Heiko Carstens <hca@linux.ibm.com> # s390

Acked-by: Helge Deller <deller@gmx.de> # parisc


  reply	other threads:[~2026-11-21 18:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19  6:16 [PATCH 0/2] " Mike Rapoport (Microsoft)
2026-11-19  6:16 ` [PATCH 1/2] MAINTAINERS: add kernel/Kconfig.kexec to KEXEC Mike Rapoport (Microsoft)
2026-11-19  7:41   ` Baoquan He
2026-11-19  6:16 ` [PATCH 2/2] arch, kexec: declare kexec and crash capabilities in Kconfig.kexec Mike Rapoport (Microsoft)
2026-11-19  7:29   ` Geert Uytterhoeven
2026-11-19  8:03   ` Heiko Carstens
2026-11-21 18:42     ` Helge Deller [this message]
2026-11-19 11:01   ` Pratyush Yadav
2026-11-20 12:36 ` [PATCH 0/2] " Pasha Tatashin

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=a35eccbf-2db2-47cd-8601-925a010406ca@gmx.de \
    --to=deller@gmx.de \
    --cc=kexec@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rppt@kernel.org \
    /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®