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

From: Stephen Rothwell
Date: Mon Mar 17 2025 - 02:21:20 EST


Hi all,

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

arch/arm64/kvm/hypercalls.c

between commit:

d2c173acbf93 ("KVM: arm64: expose SMCCC_ARCH_WORKAROUND_4 to guests")

from the arm64 tree and commit:

c0000e58c74e ("KVM: arm64: Introduce KVM_REG_ARM_VENDOR_HYP_BMAP_2")

from the kvm-arm 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 arch/arm64/kvm/hypercalls.c
index 876e6f29a73e,569941eeb3fe..000000000000
--- a/arch/arm64/kvm/hypercalls.c
+++ b/arch/arm64/kvm/hypercalls.c
@@@ -397,7 -391,7 +401,8 @@@ static const u64 kvm_arm_fw_reg_ids[]
KVM_REG_ARM_STD_BMAP,
KVM_REG_ARM_STD_HYP_BMAP,
KVM_REG_ARM_VENDOR_HYP_BMAP,
+ KVM_REG_ARM_VENDOR_HYP_BMAP_2,
+ KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_4,
};

void kvm_arm_init_hypercalls(struct kvm *kvm)

Attachment: pgpLcZlv7j07Z.pgp
Description: OpenPGP digital signature