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. Paul Durrant (6): 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 lookup_page method to iommu_ops xen/arch/arm/p2m.c | 7 ++- xen/arch/x86/hvm/emulate.c | 34 +++-------- xen/arch/x86/hvm/hvm.c | 16 +---- xen/arch/x86/mm.c | 13 ++-- xen/arch/x86/mm/p2m-ept.c | 13 +++- xen/arch/x86/mm/p2m-pt.c | 48 +++++++++------ xen/arch/x86/mm/p2m.c | 32 +++++++--- xen/arch/x86/x86_64/mm.c | 5 +- xen/common/grant_table.c | 55 +++++++---------- xen/common/memory.c | 63 +++++++++++++++---- xen/drivers/passthrough/amd/iommu_cmd.c | 18 +++--- xen/drivers/passthrough/amd/iommu_map.c | 88 +++++++++++++++------------ xen/drivers/passthrough/amd/pci_amd_iommu.c | 4 +- xen/drivers/passthrough/arm/smmu.c | 20 +++--- xen/drivers/passthrough/iommu.c | 53 ++++++++-------- xen/drivers/passthrough/vtd/iommu.c | 86 ++++++++++++++++++++------ xen/drivers/passthrough/vtd/iommu.h | 3 + xen/drivers/passthrough/vtd/x86/vtd.c | 3 +- xen/drivers/passthrough/x86/iommu.c | 6 +- xen/include/asm-arm/p2m.h | 8 +++ xen/include/asm-x86/hvm/svm/amd-iommu-proto.h | 8 +-- xen/include/asm-x86/p2m.h | 2 + xen/include/xen/iommu.h | 57 ++++++++++++++--- xen/include/xen/mm.h | 5 ++ xen/include/xen/sched.h | 5 ++ 25 files changed, 409 insertions(+), 243 deletions(-) --- Cc: Andrew Cooper <andrew.coop...@citrix.com> Cc: George Dunlap <george.dun...@citrix.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Julien Grall <julien.gr...@arm.com> Cc: Jun Nakajima <jun.nakaj...@intel.com> Cc: Kevin Tian <kevin.t...@intel.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Suravee Suthikulpanit <suravee.suthikulpa...@amd.com> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> -- 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel