linux-next: manual merge of the kvm-riscv tree with the risc-v tree

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.linux-next,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi all,

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

  arch/riscv/kvm/vcpu_vector.c

between commit:

  0c5a9ab5192b8 ("riscv: Standardize extension capitalization")

from the risc-v tree and commit:

  b5060a4aa33d7 ("RISC-V: KVM: fix vcpu vector context handling for kernel-mode vector")

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

diff --cc arch/riscv/kvm/vcpu_vector.c
index 3c3183b39ae2a,bf5c94d8786b5..0000000000000
--- a/arch/riscv/kvm/vcpu_vector.c
+++ b/arch/riscv/kvm/vcpu_vector.c
@@@ -56,9 -56,8 +56,8 @@@ void kvm_riscv_vcpu_guest_vector_restor
  					 unsigned long *isa)
  {
  	if ((cntx->sstatus & SR_VS) != SR_VS_OFF) {
 -		if (riscv_isa_extension_available(isa, v))
 +		if (riscv_isa_extension_available(isa, V))
- 			__kvm_riscv_vector_restore(cntx);
- 		kvm_riscv_vcpu_vector_clean(cntx);
+ 			riscv_v_flags_set(riscv_v_flags() | RISCV_V_VCPU_NEED_RESTORE);
  	}
  }
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp9zuUACgkQJNaLcl1U
h9AlsQf9HDuPxessvbt+GMMrq/ihGOMRwDBFqAzTBYCC5zMEC4CZDlhRLINuWuit
HZxgWbFuAHrT+XvpAbFK9ZhMnjsBCGBGEzZJAickFNXV+5qgTboBWjoQSebCJU2K
u1kh7KUtlTq+zlS4rXvnnGr8LNDIzsGqReLWbxpQ6NHn2lVH73c59nc/NxbrwpPs
J+HtXFH+pQpulP2zpPFIVn+2aZy3IWSttuS5BUFTPuV7FSXhYLy5ghGyPMcQP4QW
EegA4jvb4q3xzrnTTVlRzLi3C4J8N/xkCpfmWygKWdAE6SLxWA1GZdW/nFbj/dnu
vVKPo3Qee7+ZT4n3UWS2l92fjTCfwg==
=88Fq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.