public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* Potential config regression after 89cde455 ("kexec: consolidate kexec and crash options into kernel/Kconfig.kexec")
@ 2023-11-20 22:52 Ignat Korchagin
  2023-11-21  1:05 ` Michael Ellerman
  2023-11-21  1:50 ` Baoquan He
  0 siblings, 2 replies; 9+ messages in thread
From: Ignat Korchagin @ 2023-11-20 22:52 UTC (permalink / raw)
  To: eric.devolder
  Cc: linux, catalin.marinas, will, chenhuacai, geert, tsbogend,
	James Bottomley, deller, ysato, dalias, glaubitz, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, dave.hansen, x86, linux-kernel,
	linux-arm-kernel, linux-ia64, loongarch, linux-m68k, linux-mips,
	linux-parisc, linuxppc-dev, linux-riscv, linux-s390, linux-sh,
	kernel, mpe, npiggin, christophe.leroy, paul.walmsley, palmer,
	aou, hca, gor, agordeev, borntraeger, svens, hpa, keescook,
	paulmck, Peter Zijlstra, frederic, Andrew Morton, Ard Biesheuvel,
	samitolvanen, juerg.haefliger, arnd, rmk+kernel, linus.walleij,
	sebastian.reichel, rppt, kirill.shutemov, anshuman.khandual, ziy,
	masahiroy, ndesaulniers, mhiramat, ojeda, thunder.leizhen,
	xin3.li, tj, Greg KH, tsi, bhe, hbathini, sourabhjain,
	boris.ostrovsky, konrad.wilk, kernel-team

Good day!

We have recently started to evaluate Linux 6.6 and noticed that we
cannot disable CONFIG_KEXEC anymore, but keep CONFIG_CRASH_DUMP
enabled. It seems to be related to commit 89cde455 ("kexec:
consolidate kexec and crash options into kernel/Kconfig.kexec"), where
a CONFIG_KEXEC dependency was added to CONFIG_CRASH_DUMP.

In our current kernel (Linux 6.1) we only enable CONFIG_KEXEC_FILE
with enforced signature check to support the kernel crash dumping
functionality and would like to keep CONFIG_KEXEC disabled for
security reasons [1].

I was reading the long commit message, but the reason for adding
CONFIG_KEXEC as a dependency for CONFIG_CRASH_DUMP evaded me. And I
believe from the implementation perspective CONFIG_KEXEC_FILE should
suffice here (as we successfully used it for crashdumps on Linux 6.1).

Is there a reason for adding this dependency or is it just an
oversight? Would some solution of requiring either CONFIG_KEXEC or
CONFIG_KEXEC_FILE work here?

Ignat

[1]: https://mjg59.dreamwidth.org/28746.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-11-23  8:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-20 22:52 Potential config regression after 89cde455 ("kexec: consolidate kexec and crash options into kernel/Kconfig.kexec") Ignat Korchagin
2023-11-21  1:05 ` Michael Ellerman
2023-11-21  1:50 ` Baoquan He
2023-11-21  7:53   ` Ignat Korchagin
2023-11-21  9:43     ` Ignat Korchagin
2023-11-22  9:34       ` Baoquan He
2023-11-22  9:47         ` Ignat Korchagin
2023-11-23  8:27           ` Baoquan He
2023-11-21  9:56     ` Baoquan He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox