From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wu, Feng" Subject: Re: [RFC v1 00/15] Add VT-d Posted-Interrupts support Date: Wed, 1 Apr 2015 13:21:19 +0000 Message-ID: References: <1427286717-4093-1-git-send-email-feng.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1427286717-4093-1-git-send-email-feng.wu@intel.com> Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" Cc: "Zhang, Yang Z" , "Wu, Feng" , "Tian, Kevin" , "keir@xen.org" , "JBeulich@suse.com" List-Id: xen-devel@lists.xenproject.org Hi Jan, Any more comments about this series? Thanks a lot! Thanks, Feng > -----Original Message----- > From: Wu, Feng > Sent: Wednesday, March 25, 2015 8:32 PM > To: xen-devel@lists.xen.org > Cc: JBeulich@suse.com; keir@xen.org; Zhang, Yang Z; Tian, Kevin; Wu, Feng > Subject: [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-technolog > y/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