[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 4/5] VT-d PI: Adding reference count to pi_desc



On Thu, May 11, 2017 at 7:04 AM, Chao Gao <chao.gao@xxxxxxxxx> wrote:
> This patch intruduces a 'refcnt' field in vmx_pi_blocking to track
> the reference count of 'pi_desc' of the vCPU. And change this field
> every time we re-program one IRTE.
>
> Signed-off-by: Chao Gao <chao.gao@xxxxxxxxx>
> ---
>  xen/arch/x86/hvm/vmx/vmx.c             | 29 ++++++++++++++++++++++++
>  xen/drivers/passthrough/io.c           |  2 +-
>  xen/drivers/passthrough/vtd/intremap.c | 41 
> ++++++++++++++++++++++++++++++++--
>  xen/include/asm-x86/hvm/domain.h       |  6 +++++
>  xen/include/asm-x86/hvm/vmx/vmcs.h     |  3 +++
>  xen/include/asm-x86/iommu.h            |  2 +-
>  xen/include/asm-x86/msi.h              |  2 +-

This doesn't apply to staging anymore:

error: while searching for:
int iommu_enable_x2apic_IR(void);
void iommu_disable_x2apic_IR(void);

int pi_update_irte(const struct pi_desc *pi_desc, const struct pirq *pirq,
                   const uint8_t gvec);

#endif /* !__ARCH_X86_IOMMU_H__ */

error: patch failed: xen/include/asm-x86/iommu.h:92


 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.