Re: [PATCH 1/2] kexec: fix KEXEC_FILE dependencies

2023-11-30 Thread Eric DeVolder
at these changes, and I am in favor of these changes. Furthermore, I ran the following thru the Kconfig regression script, and did not find anything! I believe the following patch represents the current discussion threads around Kconfig and KEXEC/CRASH. Reviewed-by: Eric DeVolder Tested-by: Eric

Re: [PATCH 1/2] kexec: fix KEXEC_FILE dependencies

2023-10-25 Thread Eric DeVolder
On Wednesday, October 25, 2023 at 04:58:20 AM CDT, Baoquan He wrote: On 10/24/23 at 03:17pm, Arnd Bergmann wrote: > On Tue, Oct 24, 2023, at 14:44, Baoquan He wrote: > > Just add people and mailing list to CC since I didn't find this mail in > > my box, just drag it via 'b4 am'. > >

[PATCH v6 04/14] ia64/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/ia64/Kconfig | 28

[PATCH v6 14/14] kexec: rename ARCH_HAS_KEXEC_PURGATORY

2023-07-12 Thread Eric DeVolder
The Kconfig refactor to consolidate KEXEC and CRASH options utilized option names of the form ARCH_SUPPORTS_. Thus rename the ARCH_HAS_KEXEC_PURGATORY to ARCH_SUPPORTS_KEXEC_PURGATORY to follow the same. Signed-off-by: Eric DeVolder --- arch/powerpc/Kconfig | 2 +- arch/riscv/Kbuild

[PATCH v6 13/14] sh/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: John Paul Adrian Glaubitz

[PATCH v6 12/14] s390/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: Alexander Gordeev --- arch

[PATCH v6 11/14] riscv/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: Palmer Dabbelt --- arch

[PATCH v6 10/14] powerpc/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Sourabh Jain --- arch

[PATCH v6 09/14] parisc/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/parisc/Kconfig | 34

[PATCH v6 08/14] mips/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: Thomas Bogendoerfer --- arch

[PATCH v6 06/14] loongarch/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/loongarch/Kconfig | 26

[PATCH v6 07/14] m68k/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Geert Uytterhoeven Acked

[PATCH v6 05/14] arm64/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm64/Kconfig | 64

[PATCH v6 00/14] refactor Kconfig to consolidate KEXEC and CRASH options

2023-07-12 Thread Eric DeVolder
o commit message in "s390/kexec: refactor for kernel/Kconfig.kexec" - Added to Kconfig.kexec the KEXEC_IMAGE_VERIFY_SIG from arm64, per Zhen Lei. - Fixed the powerpc ARCH_SUPPORTS_KEXEC_FILE conversion, per Michael Ellerman. v1: 12jun2023 https://lore.kernel.org/lkml/202

[PATCH v6 01/14] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
ndles side effects (ie. select statements). Signed-off-by: Eric DeVolder --- arch/Kconfig | 13 - init/Kconfig | 2 + kernel/Kconfig.kexec | 116 +++ 3 files changed, 118 insertions(+), 13 deletions(-) create mode 100644 kernel/Kconfig.ke

[PATCH v6 03/14] arm/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm/Kconfig | 29

[PATCH v6 02/14] x86/kexec: refactor for kernel/Kconfig.kexec

2023-07-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/x86/Kconfig | 92

Re: [PATCH v5 11/13] riscv/kexec: refactor for kernel/Kconfig.kexec

2023-07-07 Thread Eric DeVolder
the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder ---  arch/riscv/Kconfig | 44 +---  1 file changed, 13 insertions(+), 31 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index b49793cf34eb..8a3af850597a 100644

Re: [PATCH v5 02/13] x86/kexec: refactor for kernel/Kconfig.kexec

2023-07-07 Thread Eric DeVolder
On 7/7/23 00:58, Christophe Leroy wrote: Le 07/07/2023 à 00:20, Eric DeVolder a écrit : The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set

[PATCH v5 13/13] sh/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: John Paul Adrian Glaubitz

[PATCH v5 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
Y*, so dropping MODULE_SIG_FORMAT does not hurt." Therefore, the solution is to drop the MODULE_SIG_FORMAT dependency from KEXEC_SIG. Still results in equivalent .config files for s390. Signed-off-by: Eric DeVolder Acked-by: Alexander Gordeev --- arch/s390/Kconfig | 69 ---

[PATCH v5 11/13] riscv/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/riscv/Kconfig | 44

[PATCH v5 10/13] powerpc/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Sourabh Jain --- arch

[PATCH v5 09/13] parisc/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/parisc/Kconfig | 34

[PATCH v5 08/13] mips/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: Thomas Bogendoerfer --- arch

[PATCH v5 07/13] m68k/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Geert Uytterhoeven Acked

[PATCH v5 06/13] loongarch/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/loongarch/Kconfig | 26

[PATCH v5 05/13] arm64/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm64/Kconfig | 64

[PATCH v5 01/13] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
ndles side effects (ie. select statements). Signed-off-by: Eric DeVolder --- arch/Kconfig | 13 - init/Kconfig | 2 + kernel/Kconfig.kexec | 116 +++ 3 files changed, 118 insertions(+), 13 deletions(-) create mode 100644 kernel/Kconfig.ke

[PATCH v5 00/13] refactor Kconfig to consolidate KEXEC and CRASH options

2023-07-06 Thread Eric DeVolder
om KEXEC_SIG in kernel/Kconfig.kexec. Only s390 had it prior to this series. See also commit message in "s390/kexec: refactor for kernel/Kconfig.kexec" - Added to Kconfig.kexec the KEXEC_IMAGE_VERIFY_SIG from arm64, per Zhen Lei. - Fixed the powerpc ARCH_SUPPORTS_KEXEC_FILE co

[PATCH v5 04/13] ia64/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/ia64/Kconfig | 28

[PATCH v5 02/13] x86/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/x86/Kconfig | 92

[PATCH v5 03/13] arm/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm/Kconfig | 29

Re: [PATCH v4 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
On 7/6/23 10:58, Alexander Gordeev wrote: On Wed, Jul 05, 2023 at 08:49:58AM -0700, Nathan Chancellor wrote: ... I just bisected the following build failure visible with 'ARCH=s390 allnoconfig' to this change as commit 842ce0e1dafa ("s390/kexec: refactor for kernel/Kconfig.kexec") in -next.

Re: [PATCH v4 01/13] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-07-06 Thread Eric DeVolder
On 7/6/23 07:18, Arnd Bergmann wrote: On Wed, Jul 5, 2023, at 16:19, Eric DeVolder wrote: + +config CRASH_DUMP + bool "kernel crash dumps" + depends on ARCH_SUPPORTS_CRASH_DUMP + select CRASH_CORE + select KEXEC Today's linux-next now runs into a warnin

Re: [PATCH v4 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
On 7/5/23 11:23, Eric DeVolder wrote: On 7/5/23 10:49, Nathan Chancellor wrote: Hi Eric, On Wed, Jul 05, 2023 at 10:20:03AM -0400, Eric DeVolder wrote: The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide

Re: [PATCH v4 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
On 7/5/23 10:49, Nathan Chancellor wrote: Hi Eric, On Wed, Jul 05, 2023 at 10:20:03AM -0400, Eric DeVolder wrote: The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries

Re: [PATCH v4 03/13] arm/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
On 7/5/23 10:05, Arnd Bergmann wrote: On Wed, Jul 5, 2023, at 16:19, Eric DeVolder wrote: The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set

[PATCH v4 13/13] sh/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: John Paul Adrian Glaubitz

[PATCH v4 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
Y*, so dropping MODULE_SIG_FORMAT does not hurt." Therefore, the solution is to drop the MODULE_SIG_FORMAT dependency from KEXEC_SIG. Still results in equivalent .config files for s390. Signed-off-by: Eric DeVolder Acked-by: Alexander Gordeev --- arch/s390/Kconfig | 65 ++-

[PATCH v4 11/13] riscv/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/riscv/Kconfig | 44

[PATCH v4 10/13] powerpc/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Sourabh Jain --- arch

[PATCH v4 08/13] mips/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: Thomas Bogendoerfer --- arch

[PATCH v4 09/13] parisc/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/parisc/Kconfig | 34

[PATCH v4 07/13] m68k/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Geert Uytterhoeven Acked

[PATCH v4 05/13] arm64/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm64/Kconfig | 62

[PATCH v4 06/13] loongarch/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/loongarch/Kconfig | 26

[PATCH v4 02/13] x86/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/x86/Kconfig | 89

[PATCH v4 00/13] refactor Kconfig to consolidate KEXEC and CRASH options

2023-07-05 Thread Eric DeVolder
ning up of the help sections, per Zhen Lei and Alexander Gordeev. - Removed the MODULE_SIG_FORMAT dependency from KEXEC_SIG in kernel/Kconfig.kexec. Only s390 had it prior to this series. See also commit message in "s390/kexec: refactor for kernel/Kconfig.kexec" - Added

[PATCH v4 04/13] ia64/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/ia64/Kconfig | 28

[PATCH v4 03/13] arm/kexec: refactor for kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm/Kconfig | 29

[PATCH v4 01/13] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-07-05 Thread Eric DeVolder
ndles side effects (ie. select statements). Signed-off-by: Eric DeVolder --- arch/Kconfig | 13 - init/Kconfig | 2 + kernel/Kconfig.kexec | 110 +++ 3 files changed, 112 insertions(+), 13 deletions(-) create mode 100644 kernel/Kconfig.ke

Re: [PATCH v3 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-06-30 Thread Eric DeVolder
On 6/30/23 08:07, Alexander Gordeev wrote: On Mon, Jun 26, 2023 at 12:13:31PM -0400, Eric DeVolder wrote: The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate

Re: [PATCH v3 11/13] riscv/kexec: refactor for kernel/Kconfig.kexec

2023-06-28 Thread Eric DeVolder
On 6/28/23 03:20, Conor Dooley wrote: Hey Eric, On Mon, Jun 26, 2023 at 12:13:30PM -0400, Eric DeVolder wrote: The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate

Re: [PATCH v3 01/13] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
On 6/26/23 11:19, Russell King (Oracle) wrote: On Mon, Jun 26, 2023 at 12:13:20PM -0400, Eric DeVolder wrote: +config KEXEC + bool "Enable kexec system call" + default ARCH_DEFAULT_KEXEC + depends on ARCH_SUPPORTS_KEXEC + select KEXEC_CORE + help +

[PATCH v3 13/13] sh/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: John Paul Adrian Glaubitz

[PATCH v3 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
Y*, so dropping MODULE_SIG_FORMAT does not hurt." Therefore, the solution is to drop the MODULE_SIG_FORMAT dependency from KEXEC_SIG. Still results in equivalent .config files for s390. Signed-off-by: Eric DeVolder --- arch/s390/Kconfig | 65 ++- 1 file ch

[PATCH v3 11/13] riscv/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/riscv/Kconfig | 48

[PATCH v3 10/13] powerpc/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Sourabh Jain --- arch

[PATCH v3 08/13] mips/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Acked-by: Thomas Bogendoerfer --- arch

[PATCH v3 09/13] parisc/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/parisc/Kconfig | 34

[PATCH v3 00/13] refactor Kconfig to consolidate KEXEC and CRASH options

2023-06-26 Thread Eric DeVolder
DULE_SIG_FORMAT dependency from KEXEC_SIG in kernel/Kconfig.kexec. Only s390 had it prior to this series. See also commit message in "s390/kexec: refactor for kernel/Kconfig.kexec" - Added to Kconfig.kexec the KEXEC_IMAGE_VERIFY_SIG from arm64, per Zhen Lei. - Fi

[PATCH v3 03/13] arm/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm/Kconfig | 29

[PATCH v3 04/13] ia64/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/ia64/Kconfig | 28

[PATCH v3 05/13] arm64/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm64/Kconfig | 62

[PATCH v3 07/13] m68k/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Geert Uytterhoeven Acked

[PATCH v3 02/13] x86/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/x86/Kconfig | 89

[PATCH v3 06/13] loongarch/kexec: refactor for kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/loongarch/Kconfig | 26

[PATCH v3 01/13] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-06-26 Thread Eric DeVolder
ndles side effects (ie. select statements). Signed-off-by: Eric DeVolder --- arch/Kconfig | 13 - init/Kconfig | 2 + kernel/Kconfig.kexec | 110 +++ 3 files changed, 112 insertions(+), 13 deletions(-) create mode 100644 kernel/Kconfig.ke

Re: [PATCH v2 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-06-22 Thread Eric DeVolder
On 6/22/23 11:24, Alexander Gordeev wrote: On Wed, Jun 21, 2023 at 12:10:49PM -0500, Eric DeVolder wrote: Hi Eric, ... NOTE: The original Kconfig has a KEXEC_SIG which depends on MODULE_SIG_FORMAT. However, attempts to keep the MODULE_SIG_FORMAT dependency (using the strategy outlined

Re: [PATCH v2 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-06-21 Thread Eric DeVolder
On 6/21/23 00:00, Alexander Gordeev wrote: On Mon, Jun 19, 2023 at 10:58:00AM -0400, Eric DeVolder wrote: Hi Eric, The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries

Re: [PATCH v2 13/13] sh/kexec: refactor for kernel/Kconfig.kexec

2023-06-21 Thread Eric DeVolder
On 6/19/23 13:21, John Paul Adrian Glaubitz wrote: Acked-by: John Paul Adrian Glaubitz Thank you! eric

Re: [PATCH v2 08/13] mips/kexec: refactor for kernel/Kconfig.kexec

2023-06-21 Thread Eric DeVolder
On 6/20/23 07:52, Thomas Bogendoerfer wrote: Acked-by: Thomas Bogendoerfer Thank you! eric

Re: [PATCH v2 02/13] x86/kexec: refactor for kernel/Kconfig.kexec

2023-06-21 Thread Eric DeVolder
On 6/20/23 03:21, Baoquan He wrote: Hi Eric, On 06/19/23 at 10:57am, Eric DeVolder wrote: .. +config ARCH_SUPPORTS_KEXEC + def_bool y -config ARCH_HAS_KEXEC_PURGATORY - def_bool KEXEC_FILE +config ARCH_SUPPORTS_KEXEC_FILE + def_bool X86_64 &&

[PATCH v2 11/13] riscv/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/riscv/Kconfig | 48

[PATCH v2 06/13] loongarch/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/loongarch/Kconfig | 26

[PATCH v2 13/13] sh/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/sh/Kconfig | 46

[PATCH v2 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
h the use of SYSTEM_DATA_VERIFICATION, which does select MODULE_SIG_FORMAT. Not ideal, but results in equivalent .config files for s390. Signed-off-by: Eric DeVolder --- arch/s390/Kconfig | 65 ++- 1 file changed, 19 insertions(+), 46 deletions(-) diff --git a/arch/s390/

[PATCH v2 03/13] arm/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm/Kconfig | 29

[PATCH v2 10/13] powerpc/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Sourabh Jain --- arch

[PATCH v2 04/13] ia64/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/ia64/Kconfig | 28

[PATCH v2 08/13] mips/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/mips/Kconfig | 32

[PATCH v2 09/13] parisc/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/parisc/Kconfig | 34

[PATCH v2 05/13] arm64/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/arm64/Kconfig | 62

[PATCH v2 07/13] m68k/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder Reviewed-by: Geert Uytterhoeven Acked

[PATCH v2 00/13] refactor Kconfig to consolidate KEXEC and CRASH options

2023-06-19 Thread Eric DeVolder
y from KEXEC_SIG in kernel/Kconfig.kexec. Only s390 had it prior to this series. See also commit message in "s390/kexec: refactor for kernel/Kconfig.kexec" - Added to Kconfig.kexec the KEXEC_IMAGE_VERIFY_SIG from arm64, per Zhen Lei. - Fixed the powerpc ARCH_SUPPORTS_KEXEC_F

[PATCH v2 02/13] x86/kexec: refactor for kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/x86/Kconfig | 89

[PATCH v2 01/13] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-06-19 Thread Eric DeVolder
effects (ie. select statements). Signed-off-by: Eric DeVolder --- arch/Kconfig | 13 - init/Kconfig | 2 + kernel/Kconfig.kexec | 110 +++ 3 files changed, 112 insertions(+), 13 deletions(-) create mode 100644 kernel/Kconfig.kexec di

Re: [PATCH v1 00/21] refactor Kconfig to consolidate KEXEC and CRASH options

2023-06-15 Thread Eric DeVolder
On 6/14/23 22:26, Michael Ellerman wrote: Eric DeVolder writes: On 6/13/23 15:21, Kees Cook wrote: On Mon, Jun 12, 2023 at 01:27:52PM -0400, Eric DeVolder wrote: The Kconfig is refactored to consolidate KEXEC and CRASH options from various arch//Kconfig files into new file kernel

Re: [PATCH v1 10/21] powerpc/kexec: refactor for kernel/Kconfig.kexec

2023-06-15 Thread Eric DeVolder
On 6/14/23 22:34, Michael Ellerman wrote: Eric DeVolder writes: The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_HAS_ and ARCH_SUPPORTS_ entries to recreate the equivalent set of KEXEC and CRASH options

Re: [PATCH v1 01/21] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-06-14 Thread Eric DeVolder
On 6/14/23 10:24, Alexander Gordeev wrote: On Mon, Jun 12, 2023 at 01:27:53PM -0400, Eric DeVolder wrote: ... +config KEXEC_FILE + bool "Enable kexec file based system call" + depends on ARCH_HAS_KEXEC_FILE + select KEXEC_CORE + help + This is n

Re: [PATCH v1 00/21] refactor Kconfig to consolidate KEXEC and CRASH options

2023-06-14 Thread Eric DeVolder
On 6/13/23 15:21, Kees Cook wrote: On Mon, Jun 12, 2023 at 01:27:52PM -0400, Eric DeVolder wrote: The Kconfig is refactored to consolidate KEXEC and CRASH options from various arch//Kconfig files into new file kernel/Kconfig.kexec. This looks very nice! Thank you Kees

Re: [PATCH v1 07/21] m68k/kexec: refactor for kernel/Kconfig.kexec

2023-06-14 Thread Eric DeVolder
On 6/12/23 14:38, Geert Uytterhoeven wrote: On Mon, Jun 12, 2023 at 7:29 PM Eric DeVolder wrote: The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_HAS_ and ARCH_SUPPORTS_ entries to recreate the equivalent set

Re: [PATCH v1 05/21] arm64/kexec: refactor for kernel/Kconfig.kexec

2023-06-14 Thread Eric DeVolder
On 6/13/23 20:22, Leizhen (ThunderTown) wrote: On 2023/6/13 1:27, Eric DeVolder wrote: The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_HAS_ and ARCH_SUPPORTS_ entries to recreate the equivalent set of KEXEC

Re: [PATCH v1 01/21] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-06-14 Thread Eric DeVolder
On 6/13/23 20:19, Leizhen (ThunderTown) wrote: On 2023/6/13 1:27, Eric DeVolder wrote: The config options for kexec and crash features are consolidated into new file kernel/Kconfig.kexec. Under the "General Setup" submenu is a new submenu "Kexec and crash handling"

[PATCH v1 01/21] kexec: consolidate kexec and crash options into kernel/Kconfig.kexec

2023-06-12 Thread Eric DeVolder
elect statements). Signed-off-by: Eric DeVolder --- arch/Kconfig | 13 -- init/Kconfig | 2 + kernel/Kconfig.kexec | 103 +++ 3 files changed, 105 insertions(+), 13 deletions(-) create mode 100644 kernel/Kconfig.kexec diff --git a/arc

[PATCH v1 08/21] mips/kexec: refactor for kernel/Kconfig.kexec

2023-06-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_HAS_ and ARCH_SUPPORTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/mips/Kconfig | 32

[PATCH v1 12/21] s390/kexec: refactor for kernel/Kconfig.kexec

2023-06-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_HAS_ and ARCH_SUPPORTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/s390/Kconfig | 65

[PATCH v1 11/21] riscv/kexec: refactor for kernel/Kconfig.kexec

2023-06-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_HAS_ and ARCH_SUPPORTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/riscv/Kconfig | 48

[PATCH v1 06/21] loongarch/kexec: refactor for kernel/Kconfig.kexec

2023-06-12 Thread Eric DeVolder
The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_HAS_ and ARCH_SUPPORTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/loongarch/Kconfig | 26

  1   2   >