lkml.org 
[lkml]   [2020]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] KVM: x86: ignore SIPIs that are received while not in wait-for-sipi state
From
Date
On 03/12/20 15:33, Maxim Levitsky wrote:
> 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>
> ---
> arch/x86/kvm/lapic.c | 15 ++++++++-------


Indeed, it was done by the xchg before that commit, even if
vcpu->arch.mp_state != KVM_MP_STATE_INIT_RECEIVED.

Paolo

\
 
 \ /
  Last update: 2020-12-03 18:39    [W:0.031 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site