Re: [PATCH v2 4/5] KVM: arm64: vgic: Do not access the GICv5 CPU interface from EL1
From: Fuad Tabba
Date: Sun Oct 11 2026 - 12:04:49 EST
Hi Marc,
On Sun, 11 Oct 2026 16:10:19 +0100, Marc Zyngier <maz@xxxxxxxxxx> wrote:
[...]
> This really is perpetuating the wrong model. The rule is simple:
> anything that requires system instructions or system registers cannot
> be accessed from EL1, and therefore GICv2 is the only one that can be
> accessed from EL1. So the whole thing should read:
>
> return has_vhe() || kvm_vgic_global_state.type == VGIC_V2;
Ack, I'll respin it that way.
> Ultimately, we should static keys for all of the vgic types.
I'll do that as a follow-up once the merge window is over.
Cheers,
/fuad