Re: [PATCH v1 10/21] powerpc/kexec: refactor for kernel/Kconfig.kexec
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
- Subject: Re: [PATCH v1 10/21] powerpc/kexec: refactor for kernel/Kconfig.kexec
- From: Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 15 Jun 2023 11:19:52 -0500
- Cc: Eric DeVolder <eric.devolder@xxxxxxxxxx>, linux@xxxxxxxxxxxxxxx, catalin.marinas@xxxxxxx, will@xxxxxxxxxx, chenhuacai@xxxxxxxxxx, geert@xxxxxxxxxxxxxx, tsbogend@xxxxxxxxxxxxxxxx, James.Bottomley@xxxxxxxxxxxxxxxxxxxxx, deller@xxxxxx, ysato@xxxxxxxxxxxxx, dalias@xxxxxxxx, glaubitz@xxxxxxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, mingo@xxxxxxxxxx, bp@xxxxxxxxx, dave.hansen@xxxxxxxxxxxxxxx, 86@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, loongarch@xxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-riscv@xxxxxxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, peterz@xxxxxxxxxxxxx, linus.walleij@xxxxxxxxxx, thunder.leizhen@xxxxxxxxxx, hpa@xxxxxxxxx, kernel@xxxxxxxxxx, ardb@xxxxxxxxxx, tsi@xxxxxxxxxx, agordeev@xxxxxxxxxxxxx, paulmck@xxxxxxxxxx, bhe@xxxxxxxxxx, masahiroy@xxxxxxxxxx, konrad.wilk@xxxxxxxxxx, sebastian.reichel@xxxxxxxxxxxxx, samitolvanen@xxxxxxxxxx, ojeda@xxxxxxxxxx, juerg.haefliger@xxxxxxxxxxxxx, borntraeger@xxxxxxxxxxxxx, frederic@xxxxxxxxxx, arnd@xxxxxxxx, mhiramat@xxxxxxxxxx, aou@xxxxxxxxxxxxxxxxx, keescook@xxxxxxxxxxxx, gor@xxxxxxxxxxxxx, anshuman.khandual@xxxxxxx, hca@xxxxxxxxxxxxx, xin3.li@xxxxxxxxx, npiggin@xxxxxxxxx, rmk+kernel@xxxxxxxxxxxxxxx, paul.walmsley@xxxxxxxxxx, boris.ostrovsky@xxxxxxxxxx, ziy@xxxxxxxxxx, hbathini@xxxxxxxxxxxxx, gregkh@xxxxxxxxxxxxxxxxxxx, kirill.shutemov@xxxxxxxxxxxxxxx, ndesaulniers@xxxxxxxxxx, sourabhjain@xxxxxxxxxxxxx, palmer@xxxxxxxxxxx, svens@xxxxxxxxxxxxx, tj@xxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, rppt@xxxxxxxxxx
- In-reply-to: <87fs6tflfi.fsf@mail.lhotse>
- References: <20230612172805.681179-1-eric.devolder@oracle.com> <20230612172805.681179-11-eric.devolder@oracle.com> <87fs6tflfi.fsf@mail.lhotse>
- User-agent: Mutt/1.4.2.3i
On Thu, Jun 15, 2023 at 01:34:25PM +1000, Michael Ellerman wrote:
> Eric DeVolder <eric.devolder@xxxxxxxxxx> writes:
> > -config KEXEC_FILE
> > - bool "kexec file based system call"
> > - select KEXEC_CORE
> > - select HAVE_IMA_KEXEC if IMA
> > - select KEXEC_ELF
> > - depends on PPC64
> > - depends on CRYPTO=y
> > - depends on CRYPTO_SHA256=y
> ...
> > +
> > +config ARCH_HAS_KEXEC_FILE
> > + def_bool PPC64 && CRYPTO && CRYPTO_SHA256
>
> The =y's got lost here.
>
> I think they were both meaningful, because both options are tristate. So
> this previously required them to be built-in (=y), whereas after your
> patch it will allow them to be modules.
>
> I don't know for sure that those options need to be built-in, but that's
> what the code does now, so this patch shouldn't change it, at least
> without an explanation.
This patch shouldn't change it at all, period. If you want to change it
(and that sounds like a good idea, if it is possible anyway), that
should be a separate patch.
Segher
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]