[PATCH v16 08/11] x86, arm64: Add ARCH_WANT_RESERVE_CRASH_KERNEL config

2021-11-23 Thread Zhen Lei
From: Chen Zhou We make the functions reserve_crashkernel[_low]() as generic for x86 and arm64. Since reserve_crashkernel[_low]() implementations are quite similar on other architectures as well, we can have more users of this later. So have CONFIG_ARCH_WANT_RESERVE_CRASH_KERNEL in arch/Kconfig

Re: [PATCH v16 08/11] x86, arm64: Add ARCH_WANT_RESERVE_CRASH_KERNEL config

2021-12-08 Thread Catalin Marinas
On Tue, Nov 23, 2021 at 08:46:43PM +0800, Zhen Lei wrote: > diff --git a/arch/Kconfig b/arch/Kconfig > index 26b8ed11639da46..19256aa924c3b2c 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -24,6 +24,9 @@ config KEXEC_ELF > config HAVE_IMA_KEXEC > bool > > +config ARCH_WANT_RESERVE_C

Re: [PATCH v16 08/11] x86, arm64: Add ARCH_WANT_RESERVE_CRASH_KERNEL config

2021-12-08 Thread Leizhen (ThunderTown)
On 2021/12/9 1:09, Catalin Marinas wrote: > On Tue, Nov 23, 2021 at 08:46:43PM +0800, Zhen Lei wrote: >> diff --git a/arch/Kconfig b/arch/Kconfig >> index 26b8ed11639da46..19256aa924c3b2c 100644 >> --- a/arch/Kconfig >> +++ b/arch/Kconfig >> @@ -24,6 +24,9 @@ config KEXEC_ELF >> config HAVE_IMA