]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: gic-v3: Switch vGIC-v3 to use generated ICH_VMCR_EL2
authorSascha Bischoff <Sascha.Bischoff@arm.com>
Wed, 28 Jan 2026 17:59:50 +0000 (17:59 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 30 Jan 2026 11:10:46 +0000 (11:10 +0000)
commit4a03431b742b4edc24fe1a14d355de1df6d80f86
treed192d47cbd3dba2abdbd1c8c8f79e0c866e8b2f8
parent9ace4753a5202b02191d54e9fdf7f9e3d02b85eb
KVM: arm64: gic-v3: Switch vGIC-v3 to use generated ICH_VMCR_EL2

The VGIC-v3 code relied on hand-written definitions for the
ICH_VMCR_EL2 register. This register, and the associated fields, is
now generated as part of the sysreg framework. Move to using the
generated definitions instead of the hand-written ones.

There are no functional changes as part of this change.

Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20260128175919.3828384-3-sascha.bischoff@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/sysreg.h
arch/arm64/kvm/hyp/vgic-v3-sr.c
arch/arm64/kvm/vgic/vgic-v3-nested.c
arch/arm64/kvm/vgic/vgic-v3.c