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

2023-06-21 Thread Baoquan He
On 06/20/23 at 07:56am, Eric DeVolder wrote: > > > 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 > > > +confi

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 && CRYPTO && CRYPTO_SHA256

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

2023-06-21 Thread Baoquan He
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 && CRYPTO && CRYPTO_SHA256 .. > +config ARCH_SELECTS_KEX

[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 +++---