Skip to contentSkip to conversation

linux-next: manual merge of the kvm tree with the loongarch tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Feb 27, 2024 – Mar 17, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

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

arch/loongarch/Kconfig

between commit:

853f96367535 ("LoongArch: Add kernel livepatching support")

from the loongarch tree and commit:

f48212ee8e78 ("treewide: remove CONFIG_HAVE_KVM")

from the kvm 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.

Signature · 19 lines
Cheers,
Stephen Rothwell

diff --cc arch/loongarch/Kconfig
index 99a0a15ce5f7,eb2139387a54..000000000000
--- a/arch/loongarch/Kconfig
+++ b/arch/loongarch/Kconfig
@@@ -133,11 -133,8 +133,10 @@@ config LOONGARC
  	select HAVE_KPROBES
  	select HAVE_KPROBES_ON_FTRACE
  	select HAVE_KRETPROBES
- 	select HAVE_KVM
 +	select HAVE_LIVEPATCH
  	select HAVE_MOD_ARCH_SPECIFIC
  	select HAVE_NMI
 +	select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS
  	select HAVE_PCI
  	select HAVE_PERF_EVENTS
  	select HAVE_PERF_REGS
#1 lore raw

Hi all,

Quoted 29 lines · On Tue, 27 Feb 2024 14:09:27 +1100 Stephen Rothwell <[email protected]>…

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

arch/loongarch/Kconfig

between commit:

853f96367535 ("LoongArch: Add kernel livepatching support")

from the loongarch tree and commit:

f48212ee8e78 ("treewide: remove CONFIG_HAVE_KVM")

from the kvm 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.

arch/loongarch/Kconfig +0 -0
diff --cc arch/loongarch/Kconfig
index 99a0a15ce5f7,eb2139387a54..000000000000
@@@ -133,11 -133,8 +133,10 @@@ config LOONGARC
  	select HAVE_KPROBES

arch/loongarch/Kconfig

Quoted 10 lines
arch/loongarch/Kconfig +0 -1
  	select HAVE_KPROBES_ON_FTRACE
  	select HAVE_KRETPROBES
- 	select HAVE_KVM
 +	select HAVE_LIVEPATCH
  	select HAVE_MOD_ARCH_SPECIFIC
  	select HAVE_NMI
 +	select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS
  	select HAVE_PCI
  	select HAVE_PERF_EVENTS
  	select HAVE_PERF_REGS

This is now a conflict between the loongarch tree and Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell