]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
KVM: x86: ignore SIPIs that are received while not in wait-for-sipi state
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 3 Dec 2020 14:33:19 +0000 (16:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Dec 2020 21:18:30 +0000 (16:18 -0500)
commitf57ad63a835c6f1fe646ea985e78a79eb206a5b3
treed41c77b75c80d726ed9771a110414e35637f808b
parentdee734a7de9169018b8108208587d3ff1fdfff18
KVM: x86: ignore SIPIs that are received while not in wait-for-sipi state

In the commit 1c96dcceaeb3
("KVM: x86: fix apic_accept_events vs check_nested_events"),

we accidently started latching SIPIs that are received while the cpu is not
waiting for them.

This causes vCPUs to never enter a halted state.

Fixes: 1c96dcceaeb3 ("KVM: x86: fix apic_accept_events vs check_nested_events")
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20201203143319.159394-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c