[PATCH v2 4/5] KVM: arm64: vgic: Do not access the GICv5 CPU interface from EL1

Fuad Tabba fuad.tabba at linux.dev
Sun Oct 11 08:26:55 PDT 2026


Hi Marc,

On Sun, 11 Oct 2026 16:10:19 +0100, Marc Zyngier <maz at kernel.org> 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



More information about the linux-arm-kernel mailing list