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

From: Stephen Rothwell
Date: Tue Oct 09 2018 - 22:22:31 EST


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.

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

Attachment: pgprU_iTV6ERu.pgp
Description: OpenPGP digital signature