[PATCH v1] KVM: arm64: vgic: Reset in_kernel on private IRQ allocation failure
Oliver Upton
oupton at kernel.org
Wed Aug 12 23:49:41 PDT 2026
On Sun, 02 Aug 2026 16:08:45 +0100, Fuad Tabba wrote:
> kvm_vgic_create() sets vgic.in_kernel before allocating the per-vCPU
> private IRQs, but the allocation-failure path resets only vgic_model and
> leaves in_kernel set. As irqchip_in_kernel() is !!in_kernel, the VM is
> left with an in-kernel irqchip but no model, and the -EEXIST guard at the
> top of kvm_vgic_create() rejects every retry, so userspace cannot recover
> from a transient -ENOMEM.
>
> [...]
Applied to next, thanks!
[1/1] KVM: arm64: vgic: Reset in_kernel on private IRQ allocation failure
https://git.kernel.org/kvmarm/kvmarm/c/43347154e7ab
--
Best,
Oliver
More information about the linux-arm-kernel
mailing list