The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* linux-next: manual merge of the liveupdate tree with the kexec tree
@ 2026-11-26 15:16 Mark Brown
  2026-11-26 20:18 ` Mike Rapoport
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2026-11-26 15:16 UTC (permalink / raw)
  To: Mike Rapoport, Andrew Morton, Pasha Tatashin, Pratyush Yadav
  Cc: Chen Pei, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1679 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: manual merge of the liveupdate tree with the kexec tree
  2026-11-26 15:16 linux-next: manual merge of the liveupdate tree with the kexec tree Mark Brown
@ 2026-11-26 20:18 ` Mike Rapoport
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Rapoport @ 2026-11-26 20:18 UTC (permalink / raw)
  To: Mark Brown
  Cc: Andrew Morton, Pasha Tatashin, Pratyush Yadav, Chen Pei,
	Linux Kernel Mailing List, Linux Next Mailing List

On Thu, Nov 26, 2026 at 03:16:33PM +0000, Mark Brown wrote:
> 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_SUPPORTS_KEXEC_PURGATORY
>  -	def_bool ARCH_SUPPORTS_KEXEC_FILE
>  -
> + config ARCH_SUPPORTS_KEXEC_HANDOVER
> + 	def_bool 64BIT && MMU
> + 

I'll fix it up in liveupdate/kexec tree.

>  -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



-- 
Sincerely yours,
Mike.

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

end of thread, other threads:[~2026-11-26 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 15:16 linux-next: manual merge of the liveupdate tree with the kexec tree Mark Brown
2026-11-26 20:18 ` Mike Rapoport

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