Skip to content

VT-d Native Shared virtual memory cleanup and fixes

Jacob Pan linux-iommu lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 6 repliesIn review
  2. v48 patches 4 repliesSuperseded
  3. v38 patches 8 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v210 patches21 repliesSuperseded
v110 patches12 repliesSuperseded

Changelog from the cover letter

v5 - Regrouped patch 6 and 8, added comments suggested by Joe Perches
v4 - Commit message fix

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8iommu/vt-d: Fix CPU and IOMMU SVM feature matching checksdrivers/iommu/intel-iommu.c drivers/iommu/intel-svm.c include/linux/intel-iommu.h+33 -220 replies
2/8iommu/vt-d: Match CPU and IOMMU paging modedrivers/iommu/intel-pasid.c+10 -20 replies
3/8iommu/vt-d: Reject SVM bind for failed capability checkdrivers/iommu/intel-svm.c+3 -00 replies
4/8iommu/vt-d: Avoid duplicated code for PASID setupdrivers/iommu/intel-pasid.c+18 -300 replies
5/8iommu/vt-d: Fix off-by-one in PASID allocationdrivers/iommu/intel-svm.c+1 -10 replies
6/8iommu/vt-d: Replace Intel specific PASID allocator with IOASIDdrivers/iommu/Kconfig drivers/iommu/intel-iommu.c drivers/iommu/intel-pasid.c +1 more+30 -560 replies
7/8iommu/vt-d: Avoid sending invalid page responsedrivers/iommu/intel-svm.c+3 -40 replies
8/8iommu/vt-d: Misc macro clean up for SVMdrivers/iommu/intel-svm.c+39 -402 replies

Reviews trailers per patch

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

PatchEric AugerLu Baolu
1/8R-b A-b
2/8R-b A-b
3/8R-b A-b
4/8R-b R-b A-b
5/8R-b A-b
6/8R-b R-b A-b
7/8R-b A-b
8/8R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/8] VT-d Native Shared virtual memory cleanup and fixes

Mostly extracted from nested SVA/SVM series based on review comments of v7.
https://lkml.org/lkml/2019/10/24/852

This series also adds a few important fixes for native use of SVA. Nested SVA new code will be submitted separately as a smaller set. Based on the core branch of IOMMU tree staged for v5.5, where common APIs for vSVA were applied.
git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git core

Changelog:
v5 - Regrouped patch 6 and 8, added comments suggested by Joe Perches
v4 - Commit message fix

V3
- Squashed 1/10 & 2/10
- Deleted "8/10 Fix PASID cache flush" from this series
- Addressed reviews from Eric Auger and Baolu
V2
- Coding style fixes based on Baolu's input, no functional change
- Added Acked-by tags.

Thanks,

Jacob

*** BLURB HERE ***

Jacob Pan (8):
iommu/vt-d: Fix CPU and IOMMU SVM feature matching checks iommu/vt-d: Match CPU and IOMMU paging mode iommu/vt-d: Reject SVM bind for failed capability check iommu/vt-d: Avoid duplicated code for PASID setup iommu/vt-d: Fix off-by-one in PASID allocation iommu/vt-d: Replace Intel specific PASID allocator with IOASID iommu/vt-d: Avoid sending invalid page response iommu/vt-d: Misc macro clean up for SVM

 drivers/iommu/Kconfig       |   1 +
 drivers/iommu/intel-iommu.c |  23 +++----
 drivers/iommu/intel-pasid.c |  96 ++++++++------------------
 drivers/iommu/intel-svm.c   | 163 +++++++++++++++++++++++++-------------------
 include/linux/intel-iommu.h |   5 +-
 5 files changed, 135 insertions(+), 153 deletions(-)
Signature · 1 line
2.7.4