All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric DeVolder <eric.devolder@oracle.com>
To: akpm@linux-foundation.org, mm-commits@vger.kernel.org,
	linux-s390@vger.kernel.org
Cc: ziy@nvidia.com, ysato@users.sourceforge.jp, xin3.li@intel.com,
	will@kernel.org, tsi@tuyoix.net, tsbogend@alpha.franken.de,
	tj@kernel.org, thunder.leizhen@huawei.com, tglx@linutronix.de,
	svens@linux.ibm.com, sourabhjain@linux.ibm.com,
	sebastian.reichel@collabora.com, samitolvanen@google.com,
	rppt@kernel.org, rmk+kernel@armlinux.org.uk,
	peterz@infradead.org, paul.walmsley@sifive.com,
	paulmck@kernel.org, palmer@dabbelt.com, ojeda@kernel.org,
	npiggin@gmail.com, ndesaulniers@google.com, mpe@ellerman.id.au,
	mingo@redhat.com, mhiramat@kernel.org, masahiroy@kernel.org,
	linux@armlinux.org.uk, linux.walleij@linaro.org,
	konrad.wilk@oracle.com, kirill.shutemov@linux.intel.com,
	kernel@xen0n.name, keescook@chromium.org,
	juerg.haefliger@canonical.com,
	James.Bottomley@HansenPaternship.com, hpa@zytor.com,
	hca@linux.ibm.com, hbathini@linux.ibm.com,
	gregkh@linuxfoundation.org, gor@linux.ibm.com,
	glaubitz@physik.fu-berlin.de, geert@linux-m68k.org,
	frederic@kernel.org, deller@gmx.de, dave.hansen@linux.intel.com,
	dal.ias@libc.org, christophe.leroy@csgroup.eu,
	chenhuacai@kernel.org, catalin.marinas@arm.com, bp@alien8.de,
	borntraeger@linux.ibm.com, boris.ostrovsky@oracle.com,
	bhe@redhat.com, arnd@arndb.de, ardb@kernel.org,
	aou@eecs.gerkeley.edu, anshuman.khandual@arm.com,
	agordeev@linux.ibm.com
Subject: [PATCH] remove ARCH_DEFAULT_KEXEC from Kconfig.kexec
Date: Wed,  2 Aug 2023 12:17:50 -0400	[thread overview]
Message-ID: <20230802161750.2215-1-eric.devolder@oracle.com> (raw)

This patch is a minor cleanup to the series "refactor Kconfig to
consolidate KEXEC and CRASH options".

In that series, a new option ARCH_DEFAULT_KEXEC was introduced in
order to obtain the equivalent behavior of s390 original Kconfig
settings for KEXEC. As it turns out, this new option did not fully
provide the equivalent behavior, rather a "select KEXEC" did.

As such, the ARCH_DEFAULT_KEXEC is not needed anymore, so remove it.

Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
---
 arch/s390/Kconfig    | 3 ---
 kernel/Kconfig.kexec | 1 -
 2 files changed, 4 deletions(-)

diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 42c98931de2c..c9e523e0d997 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -246,9 +246,6 @@ config PGTABLE_LEVELS
 
 source "kernel/livepatch/Kconfig"
 
-config ARCH_DEFAULT_KEXEC
-	def_bool y
-
 config ARCH_SUPPORTS_KEXEC
 	def_bool y
 
diff --git a/kernel/Kconfig.kexec b/kernel/Kconfig.kexec
index ff72e45cfaef..701cd5336f4f 100644
--- a/kernel/Kconfig.kexec
+++ b/kernel/Kconfig.kexec
@@ -17,7 +17,6 @@ config HAVE_IMA_KEXEC
 
 config KEXEC
 	bool "Enable kexec system call"
-	default ARCH_DEFAULT_KEXEC
 	depends on ARCH_SUPPORTS_KEXEC
 	select KEXEC_CORE
 	help
-- 
2.31.1


             reply	other threads:[~2023-08-02 16:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-02 16:17 Eric DeVolder [this message]
2023-08-03 15:05 ` [PATCH] remove ARCH_DEFAULT_KEXEC from Kconfig.kexec Alexander Gordeev

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=20230802161750.2215-1-eric.devolder@oracle.com \
    --to=eric.devolder@oracle.com \
    --cc=James.Bottomley@HansenPaternship.com \
    --cc=agordeev@linux.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=anshuman.khandual@arm.com \
    --cc=aou@eecs.gerkeley.edu \
    --cc=ardb@kernel.org \
    --cc=arnd@arndb.de \
    --cc=bhe@redhat.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=bp@alien8.de \
    --cc=catalin.marinas@arm.com \
    --cc=chenhuacai@kernel.org \
    --cc=christophe.leroy@csgroup.eu \
    --cc=dal.ias@libc.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=deller@gmx.de \
    --cc=frederic@kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=gor@linux.ibm.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hbathini@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=hpa@zytor.com \
    --cc=juerg.haefliger@canonical.com \
    --cc=keescook@chromium.org \
    --cc=kernel@xen0n.name \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=linux.walleij@linaro.org \
    --cc=linux@armlinux.org.uk \
    --cc=masahiroy@kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=mingo@redhat.com \
    --cc=mm-commits@vger.kernel.org \
    --cc=mpe@ellerman.id.au \
    --cc=ndesaulniers@google.com \
    --cc=npiggin@gmail.com \
    --cc=ojeda@kernel.org \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=paulmck@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=rppt@kernel.org \
    --cc=samitolvanen@google.com \
    --cc=sebastian.reichel@collabora.com \
    --cc=sourabhjain@linux.ibm.com \
    --cc=svens@linux.ibm.com \
    --cc=tglx@linutronix.de \
    --cc=thunder.leizhen@huawei.com \
    --cc=tj@kernel.org \
    --cc=tsbogend@alpha.franken.de \
    --cc=tsi@tuyoix.net \
    --cc=will@kernel.org \
    --cc=xin3.li@intel.com \
    --cc=ysato@users.sourceforge.jp \
    --cc=ziy@nvidia.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.