]> git.hungrycats.org Git - linux/commit
KVM: arm64: vgic-its: Test for valid IRQ in MOVALL handler
authorOliver Upton <oliver.upton@linux.dev>
Wed, 21 Feb 2024 09:27:32 +0000 (09:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:26:32 +0000 (13:26 +0100)
commit72fdbc728c339413f2fee7c042ebc124d6b223d2
tree63460e496f034597d50a03debd749aefb860f6c5
parent6b2ff10390b19a2364af622b6666b690443f9f3f
KVM: arm64: vgic-its: Test for valid IRQ in MOVALL handler

commit 85a71ee9a0700f6c18862ef3b0011ed9dad99aca upstream.

It is possible that an LPI mapped in a different ITS gets unmapped while
handling the MOVALL command. If that is the case, there is no state that
can be migrated to the destination. Silently ignore it and continue
migrating other LPIs.

Cc: stable@vger.kernel.org
Fixes: ff9c114394aa ("KVM: arm/arm64: GICv4: Handle MOVALL applied to a vPE")
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240221092732.4126848-3-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kvm/vgic/vgic-its.c