[PATCH v2] KVM: arm64: GICv2: Don't WARN on out-of-range GICV_DIR INTID
Oliver Upton
oupton at kernel.org
Wed Aug 12 23:49:43 PDT 2026
On Sun, 26 Jul 2026 19:48:03 +0200, Karl Mehltretter wrote:
> vgic_v2_deactivate() passes the INTID a guest wrote to GICV_DIR straight
> to vgic_get_vcpu_irq(), and treats a failed lookup as a "can't happen"
> condition with WARN_ON_ONCE().
>
> The guest can make it happen at will, though: for any INTID outside of
> the implemented SGI, PPI and SPI ranges the lookup returns NULL, since
> GICv2 has no LPIs. A guest running with EOImode==1 writing such an INTID
> to GICV_DIR triggers the WARN, and panics hosts running with
> panic_on_warn.
>
> [...]
Applied to next, thanks!
[1/1] KVM: arm64: GICv2: Don't WARN on out-of-range GICV_DIR INTID
https://git.kernel.org/kvmarm/kvmarm/c/c6d9c8ac6521
--
Best,
Oliver
More information about the linux-arm-kernel
mailing list