Re: [PATCH v1] KVM: x86: fix illegal MP_STATE when in/entering SMM

2017-03-23 Thread David Hildenbrand
> This program still triggers the warning in kvm_apic_accept_events with > the patch applied (on top of > 093b995e3b55a0ae0670226ddfcb05bfbf0099ae): > > https://gist.githubusercontent.com/dvyukov/2a39303347aa417aea2afd9fd99b7086/raw/09693aa7ed78d22b23948c726767f540b2276a99/gistfile1.txt > >

Re: [PATCH v1] KVM: x86: fix illegal MP_STATE when in/entering SMM

2017-03-23 Thread David Hildenbrand
> This program still triggers the warning in kvm_apic_accept_events with > the patch applied (on top of > 093b995e3b55a0ae0670226ddfcb05bfbf0099ae): > > https://gist.githubusercontent.com/dvyukov/2a39303347aa417aea2afd9fd99b7086/raw/09693aa7ed78d22b23948c726767f540b2276a99/gistfile1.txt > >

Re: [PATCH v1] KVM: x86: fix illegal MP_STATE when in/entering SMM

2017-03-23 Thread Dmitry Vyukov
On Wed, Mar 22, 2017 at 5:49 PM, Radim Krčmář wrote: > 2017-03-22 16:53+0100, David Hildenbrand: >> If we already entered/are about to enter SMM, don't allow >> switching to INIT/SIPI_RECEIVED, otherwise the next call to >> kvm_apic_accept_events() will report a warning. >> >>

Re: [PATCH v1] KVM: x86: fix illegal MP_STATE when in/entering SMM

2017-03-23 Thread Dmitry Vyukov
On Wed, Mar 22, 2017 at 5:49 PM, Radim Krčmář wrote: > 2017-03-22 16:53+0100, David Hildenbrand: >> If we already entered/are about to enter SMM, don't allow >> switching to INIT/SIPI_RECEIVED, otherwise the next call to >> kvm_apic_accept_events() will report a warning. >> >> Fixes: cd7764fe9f73

Re: [PATCH v1] KVM: x86: fix illegal MP_STATE when in/entering SMM

2017-03-22 Thread Radim Krčmář
2017-03-22 16:53+0100, David Hildenbrand: > If we already entered/are about to enter SMM, don't allow > switching to INIT/SIPI_RECEIVED, otherwise the next call to > kvm_apic_accept_events() will report a warning. > > Fixes: cd7764fe9f73 ("KVM: x86: latch INITs while in system management mode") >

Re: [PATCH v1] KVM: x86: fix illegal MP_STATE when in/entering SMM

2017-03-22 Thread Radim Krčmář
2017-03-22 16:53+0100, David Hildenbrand: > If we already entered/are about to enter SMM, don't allow > switching to INIT/SIPI_RECEIVED, otherwise the next call to > kvm_apic_accept_events() will report a warning. > > Fixes: cd7764fe9f73 ("KVM: x86: latch INITs while in system management mode") >