Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 3 messages Sep 5, 2024 – Sep 16, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

arch/arm64/include/asm/kvm_host.h

between commit:

b86c9bea6349 ("KVM: arm64: Save/restore POE registers")

from the arm64 tree and commits:

b55688943597 ("KVM: arm64: Move SVCR into the sysreg array") 7d9c1ed6f4bf ("KVM: arm64: Move FPMR into the sysreg array")

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.

Signature · 20 lines
Cheers,
Stephen Rothwell

diff --cc arch/arm64/include/asm/kvm_host.h
index d5857452a1ec,b9ca899041db..000000000000
--- a/arch/arm64/include/asm/kvm_host.h
+++ b/arch/arm64/include/asm/kvm_host.h
@@@ -446,8 -446,10 +446,12 @@@ enum vcpu_sysreg 
  	GCR_EL1,	/* Tag Control Register */
  	TFSRE0_EL1,	/* Tag Fault Status Register (EL0) */
  
 +	POR_EL0,	/* Permission Overlay Register 0 (EL0) */
 +
+ 	/* FP/SIMD/SVE */
+ 	SVCR,
+ 	FPMR,
+ 
  	/* 32bit specific registers. */
  	DACR32_EL2,	/* Domain Access Control Register */
  	IFSR32_EL2,	/* Instruction Fault Status Register */
#1 lore raw
Quoted 36 lines · Stephen Rothwell

Hi all,

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

arch/arm64/include/asm/kvm_host.h

between commit:

b86c9bea6349 ("KVM: arm64: Save/restore POE registers")

from the arm64 tree and commits:

b55688943597 ("KVM: arm64: Move SVCR into the sysreg array") 7d9c1ed6f4bf ("KVM: arm64: Move FPMR into the sysreg array")

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
arch/arm64/include/asm/kvm_host.h +0 -0
diff --cc arch/arm64/include/asm/kvm_host.h
index d5857452a1ec,b9ca899041db..000000000000
@@@ -446,8 -446,10 +446,12 @@@ enum vcpu_sysreg 
  	GCR_EL1,	/* Tag Control Register */
  	TFSRE0_EL1,	/* Tag Fault Status Register (EL0) */

arch/arm64/include/asm/kvm_host.h

Quoted 10 lines
arch/arm64/include/asm/kvm_host.h +4 -0
 
 +	POR_EL0,	/* Permission Overlay Register 0 (EL0) */
 +
+ 	/* FP/SIMD/SVE */
+ 	SVCR,
+ 	FPMR,
+ 
  	/* 32bit specific registers. */
  	DACR32_EL2,	/* Domain Access Control Register */
  	IFSR32_EL2,	/* Instruction Fault Status Register */

All good, thanks Stephen.

	M.
Signature · 1 line
Without deviation from the norm, progress is not possible.
#2 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 34 lines · On Thu, 5 Sep 2024 16:08:56 +1000 Stephen Rothwell <[email protected]> wrote:

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

arch/arm64/include/asm/kvm_host.h

between commit:

b86c9bea6349 ("KVM: arm64: Save/restore POE registers")

from the arm64 tree and commits:

b55688943597 ("KVM: arm64: Move SVCR into the sysreg array") 7d9c1ed6f4bf ("KVM: arm64: Move FPMR into the sysreg array")

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
arch/arm64/include/asm/kvm_host.h +0 -0
diff --cc arch/arm64/include/asm/kvm_host.h
index d5857452a1ec,b9ca899041db..000000000000
@@@ -446,8 -446,10 +446,12 @@@ enum vcpu_sysreg 
  	GCR_EL1,	/* Tag Control Register */
  	TFSRE0_EL1,	/* Tag Fault Status Register (EL0) */

arch/arm64/include/asm/kvm_host.h

Quoted 10 lines
arch/arm64/include/asm/kvm_host.h +4 -0
 
 +	POR_EL0,	/* Permission Overlay Register 0 (EL0) */
 +
+ 	/* FP/SIMD/SVE */
+ 	SVCR,
+ 	FPMR,
+ 
  	/* 32bit specific registers. */
  	DACR32_EL2,	/* Domain Access Control Register */
  	IFSR32_EL2,	/* Instruction Fault Status Register */

This is now a conflict between the kvm tree and Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell