Skip to content

IOMMU cleanup

Paul Durrant xen-devel 10 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest7 patches 11 repliesIn review
  2. v98 patches 10 repliesSuperseded
  3. v88 patches 4 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v78 patches0 repliesSuperseded
v68 patches6 repliesSuperseded
v58 patches12 repliesSuperseded
v414 patches28 repliesSuperseded
v311 patches6 repliesSuperseded
v210 patches1 replySuperseded
v16 patches20 repliesSuperseded

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7remove remaining uses of iommu_legacy_map/unmapxen/arch/x86/mm.c xen/arch/x86/mm/p2m-ept.c xen/arch/x86/mm/p2m-pt.c +6 more+97 -891 reply
2/7common/grant_table: batch flush I/O TLBxen/common/grant_table.c+133 -660 replies
3/7iommu: remove the share_p2m operationxen/arch/x86/mm/p2m.c xen/drivers/passthrough/iommu.c xen/drivers/passthrough/vtd/extern.h +3 more+52 -560 replies
4/7iommu: stop calling IOMMU page tables 'p2m tables'xen/drivers/passthrough/amd/pci_amd_iommu.c xen/drivers/passthrough/iommu.c xen/drivers/passthrough/vtd/iommu.c +1 more+33 -400 replies
5/7vtd: use a bit field for root_entryxen/drivers/passthrough/vtd/iommu.c xen/drivers/passthrough/vtd/iommu.h xen/drivers/passthrough/vtd/utils.c +1 more+35 -324 replies
6/7vtd: use a bit field for context_entryxen/drivers/passthrough/vtd/iommu.c xen/drivers/passthrough/vtd/iommu.h xen/drivers/passthrough/vtd/utils.c +1 more+47 -502 replies
7/7vtd: use a bit field for dma_ptexen/drivers/passthrough/vtd/iommu.c xen/drivers/passthrough/vtd/iommu.h xen/drivers/passthrough/vtd/utils.c+47 -632 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchJan BeulichJulien GrallWei LiuKevin Tian
1/7A-b R-b
2/7R-b A-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v10 thread

Cover letter [PATCH v10 0/7] IOMMU cleanup

From: Paul Durrant <[email protected]>

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 <[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: "Roger Pau Monné" <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Wei Liu <[email protected]>

Signature · 1 line
2.20.1