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 (7): 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 xen/arch/arm/p2m.c | 7 ++- xen/arch/x86/hvm/emulate.c | 25 ++++---- xen/arch/x86/hvm/hvm.c | 14 +---- 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 | 48 +++++++------- xen/common/memory.c | 56 +++++++++++++---- 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 | 91 ++++++++++++++++++++------- xen/drivers/passthrough/vtd/iommu.h | 3 + xen/drivers/passthrough/vtd/x86/vtd.c | 1 - xen/drivers/passthrough/x86/iommu.c | 9 ++- xen/include/asm-arm/p2m.h | 4 +- xen/include/asm-x86/hvm/svm/amd-iommu-proto.h | 8 +-- xen/include/asm-x86/iommu.h | 12 ++++ xen/include/asm-x86/p2m.h | 5 +- xen/include/xen/iommu.h | 51 ++++++++++++--- xen/include/xen/mm.h | 5 ++ xen/include/xen/p2m-common.h | 6 ++ xen/include/xen/sched.h | 5 ++ 27 files changed, 417 insertions(+), 227 deletions(-) --- Cc: Andrew Cooper <[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: 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
