[PATCH 2/2] arch, kexec: declare kexec and crash capabilities in Kconfig.kexec
Ritesh Harjani (IBM)
ritesh.list at gmail.com
Sat Nov 21 19:03:10 PST 2026
"Mike Rapoport (Microsoft)" <rppt at kernel.org> writes:
> 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>
No function change observed in this patch (as described in the commit msg).
LGTM, feel free to add:
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list at gmail.com> #powerpc
More information about the linux-riscv
mailing list