From: Paul Durrant <pdurr...@amazon.com> This is the remainder of the cleanup series deferred until XSA-346 and XSA-347 were publicly disclosed.
Paul Durrant (7): remove remaining uses of iommu_legacy_map/unmap common/grant_table: batch flush I/O TLB iommu: remove the share_p2m operation iommu: stop calling IOMMU page tables 'p2m tables' vtd: use a bit field for root_entry vtd: use a bit field for context_entry vtd: use a bit field for dma_pte xen/arch/x86/mm.c | 26 ++- xen/arch/x86/mm/p2m-ept.c | 20 +- xen/arch/x86/mm/p2m-pt.c | 16 +- xen/arch/x86/mm/p2m.c | 28 ++- xen/arch/x86/x86_64/mm.c | 20 +- xen/common/grant_table.c | 208 ++++++++++++------ xen/common/memory.c | 6 +- xen/drivers/passthrough/amd/pci_amd_iommu.c | 20 +- xen/drivers/passthrough/iommu.c | 52 +---- xen/drivers/passthrough/vtd/extern.h | 2 +- xen/drivers/passthrough/vtd/iommu.c | 220 +++++++++++--------- xen/drivers/passthrough/vtd/iommu.h | 113 ++++------ xen/drivers/passthrough/vtd/utils.c | 22 +- xen/drivers/passthrough/vtd/x86/ats.c | 29 +-- xen/drivers/passthrough/vtd/x86/vtd.c | 2 +- xen/include/xen/iommu.h | 26 +-- 16 files changed, 429 insertions(+), 381 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 <jgr...@amazon.com> Cc: Jun Nakajima <jun.nakaj...@intel.com> Cc: Kevin Tian <kevin.t...@intel.com> Cc: "Roger Pau Monné" <roger....@citrix.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Wei Liu <w...@xen.org> -- 2.20.1