Skip to contentSkip to conversation

remove ARCH_DEFAULT_KEXEC from Kconfig.kexec

PATCH Applied Eric DeVolder 2 participants 2 messages Aug 2, 2023 – Aug 3, 2023 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove ARCH_DEFAULT_KEXEC from Kconfig.kexec

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.

---
 arch/s390/Kconfig    | 3 ---
 kernel/Kconfig.kexec | 1 -
 2 files changed, 4 deletions(-)
arch/s390/Kconfig +0 -3
index 42c98931de2c..c9e523e0d997 100644
@@ -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
 
kernel/Kconfig.kexec +0 -1
index ff72e45cfaef..701cd5336f4f 100644
@@ -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
Signature · 1 line
2.31.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 35 lines · Eric DeVolder

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.

---
 arch/s390/Kconfig    | 3 ---
 kernel/Kconfig.kexec | 1 -
 2 files changed, 4 deletions(-)
arch/s390/Kconfig +0 -3
index 42c98931de2c..c9e523e0d997 100644
@@ -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
 
kernel/Kconfig.kexec +0 -0
index ff72e45cfaef..701cd5336f4f 100644

kernel/Kconfig.kexec config HAVE_IMA_KEXEC · line 22

Quoted 7 lines
kernel/Kconfig.kexec +0 -1
@@ -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: