[PATCH v2 06/16] KVM: arm64: gic-v5: Add ITS MMIO state emulation

Fuad Tabba fuad.tabba at linux.dev
Tue Nov 3 05:48:42 PST 2026


On Mon, 02 Nov 2026 19:44:44 +0000, Sascha Bischoff
<sascha.bischoff at arm.com> wrote:
[...]
> diff --git a/arch/arm64/kvm/vgic/vgic-its-v5.c b/arch/arm64/kvm/vgic/vgic-its-v5.c
[...]
> +static void vgic_v5_its_reset(struct vgic_v5_its *its)
> +{
[...]
> +        its->idr1.dt_levels = 1;
> +        its->idr1.itt_levels = 1;
> +        its->idr1.l2sz = 0;

L2SZ 0 is reserved in the spec when either LEVELS bit is set. Could
this advertise 0b111, as the spec recommends? (Sashiko [1])

Thanks!
/fuad

[1] https://lore.kernel.org/all/sashiko-outbox-194056@kernel.org/



More information about the linux-arm-kernel mailing list