]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: vgic-v3: Fix ordering of ICH_HCR_EL2
authorMarc Zyngier <maz@kernel.org>
Fri, 18 Jul 2025 11:11:51 +0000 (12:11 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Sat, 26 Jul 2025 15:36:57 +0000 (08:36 -0700)
commit0f3046c8f68c00a2e4db31e21a7f14aa20913524
tree9f3c6d43c4f6976ebfecd94d7a53e5b79ba3150d
parentf68df3aee7d17a0fedc6cd9983dd2940ca692f2b
KVM: arm64: vgic-v3: Fix ordering of ICH_HCR_EL2

The sysreg tables are supposed to be sorted so that a binary search
can easily find them. However, ICH_HCR_EL2 is obviously at the wrong
spot.

Move it where it belongs.

Fixes: 9fe9663e47e21 ("KVM: arm64: Expose GICv3 EL2 registers via KVM_DEV_ARM_VGIC_GRP_CPU_SYSREGS")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Sebastian Ott <sebott@redhat.com>
Link: https://lore.kernel.org/r/20250718111154.104029-2-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/vgic-sys-reg-v3.c