Skip to content

paravirtual IOMMU pre-requisites and clean-up

Paul Durrant xen-devel 18 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 posting 2/27 patches 7 repliesIn review
  2. v14 Latest9 patches 24 repliesIn review
  3. v139 patches 4 repliesSuperseded
Earlier versions · 15
VersionPostedPatchesRepliesStatus
v129 patches9 repliesSuperseded
v11 posting 2/29 patches2 repliesSuperseded
v11 posting 1/27 patches5 repliesSuperseded
v107 patches1 replySuperseded
v9 posting 2/27 patches23 repliesSuperseded
v9 posting 1/20 of 6 patches1 replySuperseded
v8 posting 2/27 patches20 repliesSuperseded
v8 posting 1/20 of 6 patches0 repliesSuperseded
v7 posting 1/26 patches15 repliesSuperseded
v614 patches96 repliesSuperseded
v515 patches41 repliesSuperseded
v415 patches8 repliesSuperseded
v313 patches16 repliesSuperseded
v213 patches33 repliesSuperseded
v17 patches60 repliesSuperseded

v11 from the cover letter

- Pull in two more patches from v6.

Patches in v14 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9iommu: introduce the concept of DFN...xen/drivers/passthrough/amd/iommu_cmd.c xen/drivers/passthrough/amd/iommu_map.c xen/drivers/passthrough/amd/pci_amd_iommu.c +6 more+123 -920 replies
2/9iommu: make use of type-safe DFN and MFN in exported functionsxen/arch/arm/p2m.c xen/arch/x86/mm.c xen/arch/x86/mm/p2m-ept.c +9 more+85 -631 reply
3/9iommu: push use of type-safe DFN and MFN into iommu_opsxen/drivers/passthrough/amd/iommu_map.c xen/drivers/passthrough/arm/smmu.c xen/drivers/passthrough/iommu.c +4 more+66 -542 replies
4/9iommu: don't domain_crash() inside iommu_map/unmap_page()xen/arch/arm/p2m.c xen/arch/x86/mm.c xen/arch/x86/mm/p2m-ept.c +7 more+47 -169 replies
5/9memory: add check_get_page_from_gfn() as a wrapper...xen/arch/x86/hvm/emulate.c xen/arch/x86/hvm/hvm.c xen/common/grant_table.c +4 more+77 -581 reply
6/9vtd: add missing check for shared EPT...xen/drivers/passthrough/vtd/iommu.c+10 -30 replies
7/9vtd: add lookup_page method to iommu_opsxen/drivers/passthrough/iommu.c xen/drivers/passthrough/vtd/iommu.c xen/drivers/passthrough/vtd/iommu.h +1 more+65 -02 replies
8/9mm / iommu: include need_iommu() test in iommu_use_hap_pt()xen/arch/x86/mm/p2m-ept.c xen/arch/x86/mm/p2m-pt.c xen/arch/x86/mm/p2m.c +3 more+12 -114 replies
9/9mm / iommu: split need_iommu() into has_iommu_pt() and need_iommu_pt_sync()xen/arch/arm/p2m.c xen/arch/x86/hvm/mtrr.c xen/arch/x86/mm.c +18 more+92 -595 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchJan BeulichKevin TianJulien GrallSuravee SuthikulpanitWei LiuRoger Pau MonneRazvan CojocaruGeorge Dunlap
1/9A-b R-b A-b A-b
2/9A-b R-b A-b R-b R-b R-b
3/9A-b R-b A-b A-b R-b R-b
4/9R-b R-b R-b R-b A-b R-b
5/9R-b A-b R-b R-b
6/9A-b
7/9R-b R-b
8/9R-b R-b A-b A-b
9/9R-b A-b A-b A-b

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

Read the v14 thread

Cover letter [PATCH v14 0/9] paravirtual IOMMU pre-requisites and clean-up

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   |  2 +-
 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, 512 insertions(+), 291 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]>

Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel