On 11/10/2018 04:06, Stephen Rothwell wrote: > Hi all, > > On Wed, 10 Oct 2018 13:22:24 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: >> >> 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. >> >> -- >> 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 >> > > 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