Skip to contentSkip to conversation

KVM/arm updates for 4.19-rc8

GIT PULL New Marc Zyngier 1 participant 2 messages Oct 9, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Paolo, Radim,

This is hopefully the last 4.19 update for KVM/arm. A single patch, but one that fixes a rather silly 32bit bug (which I thought I had fixed before sending the original 4.19 PR, but obviously didn't).

Please pull,

	M.

The following changes since commit 7876320f88802b22d4e2daf7eb027dd14175a0f8:

Linux 4.19-rc4 (2018-09-16 11:52:37 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-for-4.19-2

for you to fetch changes up to ec876f4b252c4084acad259ce3e65ad97f44f040:

ARM: KVM: Correctly order SGI register entries in the cp15 array (2018-10-09 11:55:47 +0100)

----------------------------------------------------------------
KVM/arm fixes for 4.19, take #2

- Correctly order GICv3 SGI registers in the cp15 array

----------------------------------------------------------------
Marc Zyngier (1):
ARM: KVM: Correctly order SGI register entries in the cp15 array

 arch/arm/kvm/coproc.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
#1 lore raw

PATCH 1/1 ARM: KVM: Correctly order SGI register entries in the cp15 array

The ICC_ASGI1R and ICC_SGI0R register entries in the cp15 array are not correctly ordered, leading to a BUG() at boot time.

Move them to their natural location.

Fixes 3e8a8a50c7ef ("KVM: arm: vgic-v3: Add support for ICC_SGI0R and ICC_ASGI1R accesses")
---
 arch/arm/kvm/coproc.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/kvm/coproc.c +4 -4
index 450c7a4fbc8a..cb094e55dc5f 100644
@@ -478,15 +478,15 @@ static const struct coproc_reg cp15_regs[] = {
 
 	/* ICC_SGI1R */
 	{ CRm64(12), Op1( 0), is64, access_gic_sgi},
-	/* ICC_ASGI1R */
-	{ CRm64(12), Op1( 1), is64, access_gic_sgi},
-	/* ICC_SGI0R */
-	{ CRm64(12), Op1( 2), is64, access_gic_sgi},
 
 	/* VBAR: swapped by interrupt.S. */
 	{ CRn(12), CRm( 0), Op1( 0), Op2( 0), is32,
 			NULL, reset_val, c12_VBAR, 0x00000000 },
 
+	/* ICC_ASGI1R */
+	{ CRm64(12), Op1( 1), is64, access_gic_sgi},
+	/* ICC_SGI0R */
+	{ CRm64(12), Op1( 2), is64, access_gic_sgi},
 	/* ICC_SRE */
 	{ CRn(12), CRm(12), Op1( 0), Op2(5), is32, access_gic_sre },
 
Signature · 1 line
2.19.1