[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC v1 00/15] Add VT-d Posted-Interrupts support
VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. With VT-d Posted-Interrupts enabled, external interrupts from direct-assigned devices can be delivered to guests without VMM intervention when guest is running in non-root mode. You can find the VT-d Posted-Interrtups Spec. in the following URL: http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/vt-directed-io-spec.html This patch set follow the following design: http://article.gmane.org/gmane.comp.emulators.xen.devel/236476 Feng Wu (15): iommu: Add iommu_intpost to control VT-d Posted-Interrupts feature vt-d: VT-d Posted-Interrupts feature detection vmx: Extend struct pi_desc to support VT-d Posted-Interrupts vmx: Add some helper functions for Posted-Interrupts vmx: Initialize VT-d Posted-Interrupts Descriptor vt-d: Extend struct iremap_entry to support VT-d Posted-Interrupts vt-d: Add API to update IRTE when VT-d PI is used Update IRTE according to guest interrupt config changes Add a new per-vCPU tasklet to wakeup the blocked vCPU vmx: Define two per-cpu variants vmx: Add a global wake-up vector for VT-d Posted-Interrupts vmx: Properly handle notification event when vCPU is running Update Posted-Interrupts Descriptor during vCPU scheduling Suppress posting interrupts when 'SN' is set Add a command line parameter for VT-d posted-interrupts xen/arch/x86/hvm/vmx/vmcs.c | 6 ++ xen/arch/x86/hvm/vmx/vmx.c | 185 ++++++++++++++++++++++++++++++++- xen/common/domain.c | 11 ++ xen/common/schedule.c | 3 + xen/drivers/passthrough/io.c | 77 +++++++++++++- xen/drivers/passthrough/iommu.c | 17 ++- xen/drivers/passthrough/vtd/intremap.c | 83 +++++++++++++++ xen/drivers/passthrough/vtd/iommu.c | 15 ++- xen/drivers/passthrough/vtd/iommu.h | 23 ++++ xen/include/asm-x86/hvm/hvm.h | 1 + xen/include/asm-x86/hvm/vmx/vmcs.h | 16 ++- xen/include/asm-x86/hvm/vmx/vmx.h | 49 ++++++++- xen/include/asm-x86/iommu.h | 2 + xen/include/xen/iommu.h | 2 +- xen/include/xen/sched.h | 5 + 15 files changed, 485 insertions(+), 10 deletions(-) -- 2.1.0 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |