All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Add posted interrupt supporting
@ 2013-04-09  6:01 Yang Zhang
  2013-04-09  6:01 ` [PATCH 1/4] VMX: Detect posted interrupt capability Yang Zhang
                   ` (5 more replies)
  0 siblings, 6 replies; 40+ messages in thread
From: Yang Zhang @ 2013-04-09  6:01 UTC (permalink / raw)
  To: xen-devel; +Cc: Yang Zhang, keir.xen, xiantao.zhang, JBeulich

From: Yang Zhang <yang.z.zhang@Intel.com>

The follwoing patches are adding the Posted Interrupt supporting to Xen:
Posted Interrupt allows vAPIC interrupts to inject into guest directly
without any vmexit.

- When delivering a interrupt to guest, if target vcpu is running,
  update Posted-interrupt requests bitmap and send a notification event
  to the vcpu. Then the vcpu will handle this interrupt automatically,
  without any software involvemnt.

- If target vcpu is not running or there already a notification event
  pending in the vcpu, do nothing. The interrupt will be handled by
  next vm entry

Refer to Intel SDM vol3, 29.6  to get more information.

Yang Zhang (4):
  VMX: Detect posted interrupt capability
  VMX: Turn on posted interrupt bit in vmcs
  VMX: Add posted interrupt supporting
  VMX: Use posted interrupt to deliver virutal interrupt

 xen/arch/x86/hvm/vioapic.c                     |    4 +-
 xen/arch/x86/hvm/vlapic.c                      |   19 +++++-
 xen/arch/x86/hvm/vmsi.c                        |    5 +-
 xen/arch/x86/hvm/vmx/vmcs.c                    |   18 +++++-
 xen/arch/x86/hvm/vmx/vmx.c                     |   81 ++++++++++++++++++++++++
 xen/arch/x86/hvm/vmx/vpmu_core2.c              |    5 +-
 xen/arch/x86/hvm/vpt.c                         |   10 ++-
 xen/include/asm-x86/hvm/hvm.h                  |    2 +
 xen/include/asm-x86/hvm/vlapic.h               |    1 +
 xen/include/asm-x86/hvm/vmx/vmcs.h             |   13 ++++
 xen/include/asm-x86/hvm/vmx/vmx.h              |   22 +++++++
 xen/include/asm-x86/mach-default/irq_vectors.h |    3 +-
 12 files changed, 172 insertions(+), 11 deletions(-)

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2013-04-20 13:33 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09  6:01 [PATCH 0/4] Add posted interrupt supporting Yang Zhang
2013-04-09  6:01 ` [PATCH 1/4] VMX: Detect posted interrupt capability Yang Zhang
2013-04-09  6:01 ` [PATCH 2/4] VMX: Turn on posted interrupt bit in vmcs Yang Zhang
2013-04-09  8:04   ` Jan Beulich
2013-04-09  8:30     ` Zhang, Yang Z
2013-04-09  8:55       ` Jan Beulich
2013-04-09  9:53         ` Zhang, Yang Z
2013-04-09  8:23   ` Jan Beulich
2013-04-09  8:38     ` Keir Fraser
2013-04-09  8:48       ` Zhang, Yang Z
2013-04-09  6:01 ` [PATCH 3/4] VMX: Add posted interrupt supporting Yang Zhang
2013-04-09  7:39   ` Keir Fraser
2013-04-09  7:58     ` Zhang, Yang Z
2013-04-09  8:14       ` Keir Fraser
2013-04-09  8:23         ` Zhang, Yang Z
2013-04-09  8:40           ` Keir Fraser
2013-04-09  8:17   ` Jan Beulich
2013-04-09  8:40     ` Zhang, Yang Z
2013-04-09  8:59       ` Keir Fraser
2013-04-09  8:53     ` Zhang, Yang Z
2013-04-09  9:00       ` Jan Beulich
2013-04-09  9:18         ` Keir Fraser
2013-04-09  6:01 ` [PATCH 4/4] VMX: Use posted interrupt to deliver virutal interrupt Yang Zhang
2013-04-09  7:40   ` Keir Fraser
2013-04-09  8:25     ` Zhang, Yang Z
2013-04-09 20:26 ` [PATCH 0/4] Add posted interrupt supporting Konrad Rzeszutek Wilk
2013-04-10  2:51   ` Zhang, Yang Z
2013-04-10 13:22     ` Konrad Rzeszutek Wilk
2013-04-10 13:32       ` Zhang, Yang Z
2013-04-10 13:42         ` Konrad Rzeszutek Wilk
2013-04-19 11:49           ` Stefano Stabellini
2013-04-19 13:10             ` Jan Beulich
2013-04-19 14:16               ` Stefano Stabellini
2013-04-19 14:23                 ` Jan Beulich
2013-04-20  7:26               ` Zhang, Yang Z
2013-04-20 13:33                 ` Stefano Stabellini
2013-04-10 13:58 ` Zhang, Yang Z
2013-04-10 14:34   ` Jan Beulich
2013-04-10 16:18     ` Keir Fraser
2013-04-11  1:04       ` Zhang, Yang Z

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.