Skip to content

Misc vSVA fixes for VT-d

Jacob Pan linux-iommu lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesIn review
  2. v14 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- For guest SVA, call pasid_set_wpe directly w/o checking host CR0.wp (Review comments by Kevin T.)
- Added fixes tag

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iommu/vt-d: Enable write protect for supervisor SVMdrivers/iommu/intel/pasid.c+26 -04 replies
2/4iommu/vt-d: Enable write protect propagation from guestdrivers/iommu/intel/pasid.c include/uapi/linux/iommu.h+5 -11 reply
3/4iommu/vt-d: Reject unsupported page request modesdrivers/iommu/intel/svm.c+11 -10 replies
4/4iommu/vt-d: Calculate and set flags for handle_mm_faultdrivers/iommu/intel/svm.c+6 -30 replies

Reviews trailers per patch

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

PatchLu BaoluRaj Ashok
1/4A-b
2/4A-b
3/4A-b
4/4A-b R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Misc vSVA fixes for VT-d

Hi Baolu et al,

This is a collection of SVA-related fixes.

ChangeLog:

v2:
- For guest SVA, call pasid_set_wpe directly w/o checking host CR0.wp (Review comments by Kevin T.)
- Added fixes tag

Thanks,

Jacob

Jacob Pan (4):
iommu/vt-d: Enable write protect for supervisor SVM iommu/vt-d: Enable write protect propagation from guest iommu/vt-d: Reject unsupported page request modes iommu/vt-d: Calculate and set flags for handle_mm_fault

 drivers/iommu/intel/pasid.c | 29 +++++++++++++++++++++++++++++
 drivers/iommu/intel/svm.c   | 21 +++++++++++++++++----
 include/uapi/linux/iommu.h  |  3 ++-
 3 files changed, 48 insertions(+), 5 deletions(-)
Signature · 6 lines
2.25.1

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu