[PATCH v2 0/2] KVM: arm64: vgic-v4: Don't allocate vPEs that a VM can't use

Marc Zyngier maz at kernel.org
Tue Nov 3 05:05:31 PST 2026


On Wed, 28 Oct 2026 10:13:16 +0000, Fuad Tabba wrote:
> Changes since v1 [1]:
>   - Gate vgic_v4_init() on vgic_supports_vpes(), split out of
>     vgic_supports_direct_msis(), instead of open coding the nASSGIcap
>     check. (Oliver)
>   - Use vgic_is_v3() for the GICv2 check, in vgic_supports_vpes(). (Oliver)
> 
> Two fixes for vgic_its_create() allocating vPEs for a VM that never
> uses them. Nothing frees them when the VM is destroyed, and each
> doorbell handler stays registered with a freed vCPU.
> 
> [...]

Applied to fixes, thanks!

[1/2] KVM: arm64: vgic-v4: Don't allocate vPEs for a GICv2 VM
      commit: 1995650e0a5eb29f624e9b3e4afe487541bfd3cf
[2/2] KVM: arm64: vgic-v4: Don't allocate vPEs when userspace clears nASSGIcap
      commit: 6ade9467e37149d62ec704d1a03d52f334906f13

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list