]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: arm64: GICv2: Always trap GICV_DIR register
authorMarc Zyngier <maz@kernel.org>
Thu, 20 Nov 2025 17:25:29 +0000 (17:25 +0000)
committerOliver Upton <oupton@kernel.org>
Mon, 24 Nov 2025 22:29:14 +0000 (14:29 -0800)
commit07bb1c5622a54e2fd3f5c5a86969a2e7ad7f7376
treee9da9d4f31fd0aca5461ce2fba5c32fa0ea3384b
parent255de897e7fb918a34845167c572b5bf8e1d9d79
KVM: arm64: GICv2: Always trap GICV_DIR register

Since we can't decide to trap the DIR register on a per-vcpu basis,
always trap the second page of the GIC CPU interface. Yes, this is
costly. On the bright side, no sane SW should use EOImode==1 on
GICv2...

Tested-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Link: https://msgid.link/20251120172540.2267180-40-maz@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c
arch/arm64/kvm/vgic/vgic-v2.c