Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1411530

[PATCH v2 0/2] KVM: x86: avoid simultaneous queueing of both IRQ and SMI

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] KVM: x86: avoid simultaneous queueing of both IRQ and SMI
Date 2016-06-01 22:30 +0200
Message-ID <rFkW6-4N6-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This was reported as a vmentry failure while running Windows with SMM
enabled.  It's not that rare if your processor lacks APICv---it happens
about 20-30% of the time while installing Windows 10.

I now understand the interrupt injection code (especially
complete_interrupts) better, and I also understand why the shortcut I took
in SMI handling was a bad idea.  In the end the code is somewhat simpler
with the patch applied than before.

The bug report is at https://github.com/tianocore/edk2/issues/91, but it
also fixes other Windows failures that Laszlo had reported to me privately.

Paolo

Paolo Bonzini (2):
  KVM: x86: avoid simultaneous queueing of both IRQ and SMI
  KVM: x86: rename process_smi to enter_smm, process_smi_request to
    process_smi

 arch/x86/kvm/x86.c | 76 ++++++++++++++++++++++++++++++++----------------------
 1 file changed, 45 insertions(+), 31 deletions(-)

-- 
2.5.5

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] KVM: x86: avoid simultaneous queueing of both IRQ and SMI Paolo Bonzini <pbonzini@redhat.com> - 2016-06-01 22:30 +0200
  [PATCH v2 2/2] KVM: x86: rename process_smi to enter_smm, process_smi_request to process_smi Paolo Bonzini <pbonzini@redhat.com> - 2016-06-01 22:30 +0200
  Re: [PATCH v2 0/2] KVM: x86: avoid simultaneous queueing of both IRQ  and SMI Radim Krčmář <rkrcmar@redhat.com> - 2016-06-02 16:20 +0200

csiph-web