Re: [PATCH v4 03/13] arm/kexec: refactor for kernel/Kconfig.kexec
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Eric DeVolder" <eric.devolder@xxxxxxxxxx>, "Russell King" <linux@xxxxxxxxxxxxxxx>, "Catalin Marinas" <catalin.marinas@xxxxxxx>, "Will Deacon" <will@xxxxxxxxxx>, "Huacai Chen" <chenhuacai@xxxxxxxxxx>, "Geert Uytterhoeven" <geert@xxxxxxxxxxxxxx>, "Thomas Bogendoerfer" <tsbogend@xxxxxxxxxxxxxxxx>, "James E . J . Bottomley" <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>, "Helge Deller" <deller@xxxxxx>, "Yoshinori Sato" <ysato@xxxxxxxxxxxxx>, "Rich Felker" <dalias@xxxxxxxx>, "John Paul Adrian Glaubitz" <glaubitz@xxxxxxxxxxxxxxxxxxx>, "Thomas Gleixner" <tglx@xxxxxxxxxxxxx>, "Ingo Molnar" <mingo@xxxxxxxxxx>, "Borislav Petkov" <bp@xxxxxxxxx>, "Dave Hansen" <dave.hansen@xxxxxxxxxxxxxxx>, x86@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
- Subject: Re: [PATCH v4 03/13] arm/kexec: refactor for kernel/Kconfig.kexec
- From: "Arnd Bergmann" <arnd@xxxxxxxx>
- Date: Wed, 05 Jul 2023 17:53:02 +0200
- Cc: "WANG Xuerui" <kernel@xxxxxxxxxx>, "Michael Ellerman" <mpe@xxxxxxxxxxxxxx>, "Nicholas Piggin" <npiggin@xxxxxxxxx>, "Christophe Leroy" <christophe.leroy@xxxxxxxxxx>, "Paul Walmsley" <paul.walmsley@xxxxxxxxxx>, "Palmer Dabbelt" <palmer@xxxxxxxxxxx>, "Albert Ou" <aou@xxxxxxxxxxxxxxxxx>, "Heiko Carstens" <hca@xxxxxxxxxxxxx>, gor@xxxxxxxxxxxxx, "Alexander Gordeev" <agordeev@xxxxxxxxxxxxx>, borntraeger@xxxxxxxxxxxxx, "Sven Schnelle" <svens@xxxxxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, "Kees Cook" <keescook@xxxxxxxxxxxx>, "Paul E. McKenney" <paulmck@xxxxxxxxxx>, "Peter Zijlstra" <peterz@xxxxxxxxxxxxx>, "Frederic Weisbecker" <frederic@xxxxxxxxxx>, "Andrew Morton" <akpm@xxxxxxxxxxxxxxxxxxxx>, "Ard Biesheuvel" <ardb@xxxxxxxxxx>, "Sami Tolvanen" <samitolvanen@xxxxxxxxxx>, "Juerg Haefliger" <juerg.haefliger@xxxxxxxxxxxxx>, "Russell King" <rmk+kernel@xxxxxxxxxxxxxxx>, "Linus Walleij" <linus.walleij@xxxxxxxxxx>, "Sebastian Reichel" <sebastian.reichel@xxxxxxxxxxxxx>, "Mike Rapoport" <rppt@xxxxxxxxxx>, "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx>, "Anshuman Khandual" <anshuman.khandual@xxxxxxx>, "Zi Yan" <ziy@xxxxxxxxxx>, "Masahiro Yamada" <masahiroy@xxxxxxxxxx>, "Nick Desaulniers" <ndesaulniers@xxxxxxxxxx>, "Masami Hiramatsu" <mhiramat@xxxxxxxxxx>, "Miguel Ojeda" <ojeda@xxxxxxxxxx>, "Zhen Lei" <thunder.leizhen@xxxxxxxxxx>, "Xin Li" <xin3.li@xxxxxxxxx>, "Tejun Heo" <tj@xxxxxxxxxx>, "Greg Kroah-Hartman" <gregkh@xxxxxxxxxxxxxxxxxxx>, tsi@xxxxxxxxxx, "Baoquan He" <bhe@xxxxxxxxxx>, hbathini@xxxxxxxxxxxxx, sourabhjain@xxxxxxxxxxxxx, "Boris Ostrovsky" <boris.ostrovsky@xxxxxxxxxx>, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
- Feedback-id: i56a14606:Fastmail
- In-reply-to: <6ac04399-9c17-b036-5b14-92eadb65522b@oracle.com>
- References: <20230705142004.3605799-1-eric.devolder@oracle.com> <20230705142004.3605799-4-eric.devolder@oracle.com> <09f70de6-9409-4fa4-b9ea-831078d914e7@app.fastmail.com> <6ac04399-9c17-b036-5b14-92eadb65522b@oracle.com>
- User-agent: Cyrus-JMAP/3.9.0-alpha0-531-gfdfa13a06d-fm-20230703.001-gfdfa13a0
On Wed, Jul 5, 2023, at 17:22, Eric DeVolder wrote:
> On 7/5/23 10:05, Arnd Bergmann wrote:
>> On Wed, Jul 5, 2023, at 16:19, Eric DeVolder wrote:
>>
>> I see this is now in linux-next, and it caused a few randconfig
>> build issues, these never happened in the past:
>
> Arnd,
> Thanks for looking at this!
>
> I received randconfig errors from Andrew Morton's machinery. When
> investigating I
> found that randconfig was able to specify CRASH_DUMP without KEXEC, and
> that lead
> to problems. I believe this situation existed prior to this series as
> well.
On Arm, there was definitely a bug because one could enable CRASH_DUMP
without enabling KEXEC, but that had no effect at all. I only noticed
the problem testing linux-next because it turned from silently broken
into a build failure
> Specifically CRASH_DUMP does not have a dependency on KEXEC, or select
> (only s390
> has this hole closed).
>
> For CRASH_DUMP, this series now selects KEXEC to close this gap, which is what a
> sane config would have (ie both CRASH_DUMP and KEXEC).
Right, that is the easier way out here.
> Do you think the changes outlined below are still needed?
I think only the first one still applies on arm, you need to ensure
that ARCH_SUPPORTS_CRASH_DUMP has the same dependency as
ARCH_SUPPORTS_KEXEC, or it just depends on ARCH_SUPPORTS_KEXEC.
Arnd
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]