]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Enforce the sorting of the GICv3 system register table
authorMarc Zyngier <maz@kernel.org>
Fri, 18 Jul 2025 11:11:53 +0000 (12:11 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Sat, 26 Jul 2025 15:36:58 +0000 (08:36 -0700)
commit8af3e8ab09d0ba9b19fc3ea96ef1fa14660fef21
tree49e614c7a6d804d6efdf1c12a7ca647e72bd32dd
parentf5e6ebf285e1c84687c33b22fb1c4b992b640832
KVM: arm64: Enforce the sorting of the GICv3 system register table

In order to avoid further embarassing bugs, enforce that the GICv3
sysreg table is actually sorted, just like all the other tables.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Sebastian Ott <sebott@redhat.com>
Link: https://lore.kernel.org/r/20250718111154.104029-4-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c
arch/arm64/kvm/vgic-sys-reg-v3.c
arch/arm64/kvm/vgic/vgic.h