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

[Xen-devel] [PATCH v14 0/9] paravirtual IOMMU pre-requisites and clean-up



This series contains pre-requisites and clean-up needed for paravirtual
IOMMU support.

I have separated these patches to avoid further delaying their application
whilst I re-work the implementation of paravirtual IOMMU after review of
v6 of the series. Several of them already have all necessary acks.

v11:
 - Pull in two more patches from v6.

Paul Durrant (9):
  iommu: introduce the concept of DFN...
  iommu: make use of type-safe DFN and MFN in exported functions
  iommu: push use of type-safe DFN and MFN into iommu_ops
  iommu: don't domain_crash() inside iommu_map/unmap_page()
  memory: add check_get_page_from_gfn() as a wrapper...
  vtd: add missing check for shared EPT...
  vtd: add lookup_page method to iommu_ops
  mm / iommu: include need_iommu() test in iommu_use_hap_pt()
  mm / iommu: split need_iommu() into has_iommu_pt() and
    need_iommu_pt_sync()

 xen/arch/arm/p2m.c                            |  9 ++-
 xen/arch/x86/hvm/emulate.c                    | 25 ++++----
 xen/arch/x86/hvm/hvm.c                        | 14 +---
 xen/arch/x86/hvm/mtrr.c                       |  4 +-
 xen/arch/x86/mm.c                             | 15 +++--
 xen/arch/x86/mm/mem_sharing.c                 |  2 +-
 xen/arch/x86/mm/p2m-ept.c                     | 19 ++++--
 xen/arch/x86/mm/p2m-pt.c                      | 52 +++++++++------
 xen/arch/x86/mm/p2m.c                         | 42 ++++++++----
 xen/arch/x86/mm/paging.c                      |  2 +-
 xen/arch/x86/x86_64/mm.c                      | 15 +++--
 xen/common/grant_table.c                      | 48 +++++++-------
 xen/common/memory.c                           | 66 +++++++++++++------
 xen/common/vm_event.c                         |  2 +-
 xen/drivers/passthrough/amd/iommu_cmd.c       | 18 +++---
 xen/drivers/passthrough/amd/iommu_map.c       | 88 +++++++++++++------------
 xen/drivers/passthrough/amd/pci_amd_iommu.c   |  2 +-
 xen/drivers/passthrough/arm/smmu.c            | 20 +++---
 xen/drivers/passthrough/device_tree.c         | 21 +++---
 xen/drivers/passthrough/iommu.c               | 92 ++++++++++++++++-----------
 xen/drivers/passthrough/pci.c                 | 11 ++--
 xen/drivers/passthrough/vtd/iommu.c           | 88 +++++++++++++++++++------
 xen/drivers/passthrough/vtd/iommu.h           |  3 +
 xen/drivers/passthrough/vtd/x86/vtd.c         |  1 -
 xen/drivers/passthrough/x86/iommu.c           | 11 ++--
 xen/include/asm-arm/grant_table.h             |  2 +-
 xen/include/asm-arm/iommu.h                   |  2 +-
 xen/include/asm-arm/p2m.h                     |  4 +-
 xen/include/asm-x86/grant_table.h             |  2 +-
 xen/include/asm-x86/hvm/svm/amd-iommu-proto.h |  8 +--
 xen/include/asm-x86/iommu.h                   | 17 ++++-
 xen/include/asm-x86/p2m.h                     |  5 +-
 xen/include/xen/iommu.h                       | 68 +++++++++++++++++---
 xen/include/xen/mm.h                          |  5 ++
 xen/include/xen/p2m-common.h                  |  6 ++
 xen/include/xen/sched.h                       | 14 ++--
 36 files changed, 512 insertions(+), 291 deletions(-)
---
Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Cc: Brian Woods <brian.woods@xxxxxxx>
Cc: George Dunlap <george.dunlap@xxxxxxxxxx>
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Cc: Jan Beulich <jbeulich@xxxxxxxx>
Cc: Julien Grall <julien.grall@xxxxxxx>
Cc: Jun Nakajima <jun.nakajima@xxxxxxxxx>
Cc: Kevin Tian <kevin.tian@xxxxxxxxx>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
Cc: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
Cc: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
Cc: Tim Deegan <tim@xxxxxxx>
Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
-- 
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®.