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

[Xen-devel] [PATCH v7 0/7] Paravirtual IOMMU Interface



This contains the remaining patches from my original PV-IOMMU series (that
were not included in the recent pre-requisites series), and some new
patches to support the revised implementation.

The new patches are:
 - To add a 'no crash' variant of the internal IOMMU map method.
 - To add a new 'refcount' bit into the VT-d IOMMU PTE.

I have started this series at v7 as it derives from v6 of the old series.

Paul Durrant (7):
  public / x86: introduce __HYPERCALL_iommu_op
  iommu: track reserved ranges using a rangeset
  x86: add xen_iommu_op to query reserved ranges
  iommu: introduce iommu_map_page_nocrash
  iommu / vtd: introduce a new 'refcount' flag...
  x86: add xen_iommu_ops to modify IOMMU mappings
  x86: extend the map and unmap xen_iommu_ops to support grant
    references

 tools/flask/policy/modules/xen.if   |   1 +
 xen/arch/x86/hvm/hypercall.c        |   1 +
 xen/arch/x86/hypercall.c            |   1 +
 xen/arch/x86/pv/hypercall.c         |   1 +
 xen/common/Makefile                 |   1 +
 xen/common/grant_table.c            | 151 +++++++++
 xen/common/iommu_op.c               | 646 ++++++++++++++++++++++++++++++++++++
 xen/drivers/passthrough/iommu.c     |  28 +-
 xen/drivers/passthrough/vtd/iommu.c |  25 +-
 xen/drivers/passthrough/vtd/iommu.h |  17 +-
 xen/drivers/passthrough/x86/iommu.c |   4 +
 xen/include/Makefile                |   1 +
 xen/include/public/iommu_op.h       | 222 +++++++++++++
 xen/include/public/xen.h            |   1 +
 xen/include/xen/grant_table.h       |   5 +
 xen/include/xen/hypercall.h         |  12 +
 xen/include/xen/iommu.h             |  16 +
 xen/include/xlat.lst                |   7 +
 xen/include/xsm/dummy.h             |   6 +
 xen/include/xsm/xsm.h               |   6 +
 xen/xsm/dummy.c                     |   1 +
 xen/xsm/flask/hooks.c               |   6 +
 xen/xsm/flask/policy/access_vectors |   2 +
 23 files changed, 1143 insertions(+), 18 deletions(-)
 create mode 100644 xen/common/iommu_op.c
 create mode 100644 xen/include/public/iommu_op.h

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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