Skip to contentSkip to conversation

linux-next: manual merge of the kvm-ppc tree with the kvm-arm tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Oct 10, 2018 – Oct 11, 2018

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

Hi Paul,

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

include/uapi/linux/kvm.h

between commit:

233a7cb23531 ("kvm: arm64: Allow tuning the physical address size for VM")

from the kvm-arm tree and commit:

aa069a996951 ("KVM: PPC: Book3S HV: Add a VM capability to enable nested virtualization")

from the kvm-ppc 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 · 16 lines
Cheers,
Stephen Rothwell

diff --cc include/uapi/linux/kvm.h
index 95aa73ca65dc,7f2ff3a76995..000000000000
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@@ -962,7 -954,7 +963,8 @@@ struct kvm_ppc_resize_hpt 
  #define KVM_CAP_NESTED_STATE 157
  #define KVM_CAP_ARM_INJECT_SERROR_ESR 158
  #define KVM_CAP_MSR_PLATFORM_INFO 159
 -#define KVM_CAP_PPC_NESTED_HV 160
 +#define KVM_CAP_ARM_VM_IPA_SIZE 160 /* returns maximum IPA bits for a VM */
++#define KVM_CAP_PPC_NESTED_HV 161
  
  #ifdef KVM_CAP_IRQ_ROUTING
#1 lore raw

Hi all,

Quoted 32 lines · On Wed, 10 Oct 2018 13:22:24 +1100 Stephen Rothwell <[email protected]>…

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

include/uapi/linux/kvm.h

between commit:

233a7cb23531 ("kvm: arm64: Allow tuning the physical address size for VM")

from the kvm-arm tree and commit:

aa069a996951 ("KVM: PPC: Book3S HV: Add a VM capability to enable nested virtualization")

from the kvm-ppc 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 · 2 lines
Cheers,
Stephen Rothwell
include/uapi/linux/kvm.h +0 -0
diff --cc include/uapi/linux/kvm.h
index 95aa73ca65dc,7f2ff3a76995..000000000000

include/uapi/linux/kvm.h

Quoted 8 lines
include/uapi/linux/kvm.h +1 -0
@@@ -962,7 -954,7 +963,8 @@@ struct kvm_ppc_resize_hpt 
  #define KVM_CAP_NESTED_STATE 157
  #define KVM_CAP_ARM_INJECT_SERROR_ESR 158
  #define KVM_CAP_MSR_PLATFORM_INFO 159
 -#define KVM_CAP_PPC_NESTED_HV 160
 +#define KVM_CAP_ARM_VM_IPA_SIZE 160 /* returns maximum IPA bits for a VM */
++#define KVM_CAP_PPC_NESTED_HV 161
 
  #ifdef KVM_CAP_IRQ_ROUTING

This is now a conflict between the kvm tree and the kvm-arm tree.

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#2 lore raw
Quoted 41 lines · Stephen Rothwell

Hi all,

Quoted 38 lines · On Wed, 10 Oct 2018 13:22:24 +1100 Stephen Rothwell <[email protected]>…

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

include/uapi/linux/kvm.h

between commit:

233a7cb23531 ("kvm: arm64: Allow tuning the physical address size for VM")

from the kvm-arm tree and commit:

aa069a996951 ("KVM: PPC: Book3S HV: Add a VM capability to enable nested virtualization")

from the kvm-ppc 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 · 2 lines
Cheers,
Stephen Rothwell
include/uapi/linux/kvm.h +1 -0
diff --cc include/uapi/linux/kvm.h
index 95aa73ca65dc,7f2ff3a76995..000000000000
@@@ -962,7 -954,7 +963,8 @@@ struct kvm_ppc_resize_hpt 
  #define KVM_CAP_NESTED_STATE 157
  #define KVM_CAP_ARM_INJECT_SERROR_ESR 158
  #define KVM_CAP_MSR_PLATFORM_INFO 159
 -#define KVM_CAP_PPC_NESTED_HV 160
 +#define KVM_CAP_ARM_VM_IPA_SIZE 160 /* returns maximum IPA bits for a VM */
++#define KVM_CAP_PPC_NESTED_HV 161
Quoted 4 lines
Quoted 2 lines
  #ifdef KVM_CAP_IRQ_ROUTING

This is now a conflict between the kvm tree and the kvm-arm tree.

Indeed, and ARM will be bumped to 161 (whoever comes first to the kvm tree wins).

Paolo