]> 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)
commitfdc395d6f86042c86b74f24d2504a5e257401a34
treed41c77b75c80d726ed9771a110414e35637f808b
parentbb2cf64ef5eb6980adc0384df1d9ce5d6c04b023
KVM: x86: ignore SIPIs that are received while not in wait-for-sipi state

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