All of lore.kernel.org
 help / color / mirror / Atom feed
From: fanwenyi0529@gmail.com
To: pbonzini@redhat.com, jmattson@google.com, kvm@vger.kernel.org
Cc: Wincy Van <fanwenyi0529@gmail.com>
Subject: [PATCH 0/2] KVM: nVMX: Fix nested posted interrupts delivery
Date: Fri, 28 Apr 2017 13:13:57 +0800	[thread overview]
Message-ID: <1493356439-7293-1-git-send-email-fanwenyi0529@gmail.com> (raw)

From: Wincy Van <fanwenyi0529@gmail.com>

The nested/non-nested PI vector is the same currently, this is wrong
since the non-nested PI may not be recognized if dest vcpu is in L2.

This patch series introduce a new vector for nested PI to solve the
problem.

Wincy Van (2):
  x86: irq: Define a global vector for nested posted interrupts
  KVM: nVMX: Fix posted intr delivery when vcpu is in guest mode

 arch/x86/entry/entry_64.S          |  1 +
 arch/x86/include/asm/entry_arch.h  |  2 ++
 arch/x86/include/asm/hardirq.h     |  1 +
 arch/x86/include/asm/hw_irq.h      |  2 ++
 arch/x86/include/asm/irq_vectors.h |  1 +
 arch/x86/kernel/irq.c              | 13 +++++++++++++
 arch/x86/kernel/irqinit.c          |  2 ++
 arch/x86/kvm/vmx.c                 | 22 +++++++++++-----------
 8 files changed, 33 insertions(+), 11 deletions(-)

-- 
1.8.3.1

             reply	other threads:[~2017-04-28  5:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-28  5:13 fanwenyi0529 [this message]
2017-04-28  5:13 ` [PATCH 1/2] x86: irq: Define a global vector for nested posted interrupts fanwenyi0529
2017-04-28 10:16   ` Paolo Bonzini
2017-05-16 14:55     ` Paolo Bonzini
2017-04-28  5:13 ` [PATCH 2/2] KVM: nVMX: Fix posted intr delivery when vcpu is in guest mode fanwenyi0529
2017-07-24 17:08 ` [PATCH 0/2] KVM: nVMX: Fix nested posted interrupts delivery Paolo Bonzini
2017-07-25  1:25   ` Wincy Van

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493356439-7293-1-git-send-email-fanwenyi0529@gmail.com \
    --to=fanwenyi0529@gmail.com \
    --cc=jmattson@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.