From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [RFC v1 00/15] Add VT-d Posted-Interrupts support Date: Thu, 26 Mar 2015 14:50:44 -0400 Message-ID: <20150326185038.GA25340@x230.dumpdata.com> 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: Content-Disposition: inline In-Reply-To: <1427286717-4093-1-git-send-email-feng.wu@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Feng Wu Cc: yang.z.zhang@intel.com, kevin.tian@intel.com, keir@xen.org, JBeulich@suse.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, Mar 25, 2015 at 08:31:42PM +0800, Feng Wu wrote: > 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 Would it be possible to put the design in xen/docs/ directory? Thanks! > > 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@lists.xen.org > http://lists.xen.org/xen-devel