[PATCH 2/2] arch, kexec: declare kexec and crash capabilities in Kconfig.kexec
Geert Uytterhoeven
geert at linux-m68k.org
Wed Nov 18 23:29:50 PST 2026
On Thu, 19 Nov 2026 at 07:17, Mike Rapoport (Microsoft) <rppt at kernel.org> wrote:
> The options that let an architecture opt in to kexec and crash dump
> features, like ARCH_SUPPORTS_KEXEC or ARCH_SUPPORTS_CRASH_DUMP, are
> defined in each architecture's Kconfig as def_bool, and most of them are
> copied over several architectures.
>
> Declare these options once in kernel/Kconfig.kexec next to the options
> that depend on them, similarly to how mm/Kconfig does it, and make the
> architectures select them instead.
>
> Selection conditions are preserved, so there is no functional change.
>
> Acked-by: Baoquan He <baoquan.he at linux.dev>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
Acked-by: Geert Uytterhoeven <geert at linux-m68k.org> # m68k
Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be> # sh
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-riscv
mailing list