All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove ARCH_DEFAULT_KEXEC from Kconfig.kexec
@ 2023-08-02 16:17 Eric DeVolder
  2023-08-03 15:05 ` Alexander Gordeev
  0 siblings, 1 reply; 2+ messages in thread
From: Eric DeVolder @ 2023-08-02 16:17 UTC (permalink / raw)
  To: akpm, mm-commits, linux-s390
  Cc: ziy, ysato, xin3.li, will, tsi, tsbogend, tj, thunder.leizhen,
	tglx, svens, sourabhjain, sebastian.reichel, samitolvanen, rppt,
	rmk+kernel, peterz, paul.walmsley, paulmck, palmer, ojeda,
	npiggin, ndesaulniers, mpe, mingo, mhiramat, masahiroy, linux,
	linux.walleij, konrad.wilk, kirill.shutemov, kernel, keescook,
	juerg.haefliger, James.Bottomley, hpa, hca, hbathini, gregkh, gor,
	glaubitz, geert, frederic, deller, dave.hansen, dal.ias,
	christophe.leroy, chenhuacai, catalin.marinas, bp, borntraeger,
	boris.ostrovsky, bhe, arnd, ardb, aou, anshuman.khandual,
	agordeev

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] remove ARCH_DEFAULT_KEXEC from Kconfig.kexec
  2023-08-02 16:17 [PATCH] remove ARCH_DEFAULT_KEXEC from Kconfig.kexec Eric DeVolder
@ 2023-08-03 15:05 ` Alexander Gordeev
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Gordeev @ 2023-08-03 15:05 UTC (permalink / raw)
  To: Eric DeVolder
  Cc: akpm, mm-commits, linux-s390, ziy, ysato, xin3.li, will, tsi,
	tsbogend, tj, thunder.leizhen, tglx, svens, sourabhjain,
	sebastian.reichel, samitolvanen, rppt, rmk+kernel, peterz,
	paul.walmsley, paulmck, palmer, ojeda, npiggin, ndesaulniers, mpe,
	mingo, mhiramat, masahiroy, linux, linux.walleij, konrad.wilk,
	kirill.shutemov, kernel, keescook, juerg.haefliger,
	James.Bottomley, hpa, hca, hbathini, gregkh, gor, glaubitz, geert,
	frederic, deller, dave.hansen, dal.ias, christophe.leroy,
	chenhuacai, catalin.marinas, bp, borntraeger, boris.ostrovsky,
	bhe, arnd, ardb, aou, anshuman.khandual

On Wed, Aug 02, 2023 at 12:17:50PM -0400, Eric DeVolder wrote:
> 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

For s390:

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-03 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-02 16:17 [PATCH] remove ARCH_DEFAULT_KEXEC from Kconfig.kexec Eric DeVolder
2023-08-03 15:05 ` Alexander Gordeev

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.