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 | 6 +-
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, 514 insertions(+), 293 deletions(-)
---
Cc: Andrew Cooper <[email protected]>
Cc: Brian Woods <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Julien Grall <[email protected]>
Cc: Jun Nakajima <[email protected]>
Cc: Kevin Tian <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Tamas K Lengyel <[email protected]>
Cc: Tim Deegan <[email protected]>
Cc: Wei Liu <[email protected]>
--
2.11.0
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel