linux-next: manual merge of the liveupdate tree with the kexec tree

From: Mark Brown

Date: Thu Nov 26 2026 - 10:16:44 EST


Hi all,

Today's linux-next merge of the liveupdate tree got a conflict in:

arch/riscv/Kconfig

between commit:

e583fcbe5b585 ("arch, kexec: declare kexec and crash capabilities in Kconfig.kexec")

from the kexec tree and commit:

48ea610913a6d ("riscv: Add support for KHO")

from the liveupdate tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

I imagine this isn't an ideal resolution and the new hunk should also
move over to Kconfig.kexec but git rerere won't remember that.

diff --cc arch/riscv/Kconfig
index ed02c6ad0cca2,a5c56252ff44a..0000000000000
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@@ -1120,9 -1116,30 +1120,12 @@@ config ARCH_SELECTS_KEXE
config ARCH_SELECTS_KEXEC_FILE
def_bool y
depends on KEXEC_FILE
- select HAVE_IMA_KEXEC if IMA
+ select HAVE_IMA_KEXEC_OF if IMA
select KEXEC_ELF

-config ARCH_SUPPORTS_KEXEC_PURGATORY
- def_bool ARCH_SUPPORTS_KEXEC_FILE
-
+ config ARCH_SUPPORTS_KEXEC_HANDOVER
+ def_bool 64BIT && MMU
+
-config ARCH_SUPPORTS_CRASH_DUMP
- def_bool y
-
-config ARCH_DEFAULT_CRASH_DUMP
- def_bool y
-
-config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
- def_bool CRASH_RESERVE
-
-config ARCH_SUPPORTS_CRASH_HOTPLUG
- def_bool y
-
config COMPAT
bool "Kernel support for 32-bit U-mode"
default 64BIT

Attachment: signature.asc
Description: PGP signature