]> git.baikalelectronics.ru Git - 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)
commit65a0dbfa7749d1ffc2f7434d302973b630e7bd42
treed41c77b75c80d726ed9771a110414e35637f808b
parent385c5bab1306a26c9ff15651e76c687b899825d2
KVM: x86: ignore SIPIs that are received while not in wait-for-sipi state

In the commit cff3a5a63b15
("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: cff3a5a63b15 ("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