Skip to content

iommupt/vtd: Support dirty tracking on PASID

Zhenzhong Duan linux-iommu linux-kselftest lkml stable 2 versions – Applied

Status from this message: Queued for iommu next with "iommupt/vtd" changed to "iommu/vt-d" in the

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesApplied
  2. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- a new patch1 to add a check in intel_nested_set_dev_pasid() (Kevin)
- s/device_set_dirty_tracking/domain_set_dirty_tracking (Liuyi)
- add R-b

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4iommu/vt-d: Block PASID attachment to nested domain with dirty trackingdrivers/iommu/intel/nested.c+5 -13 replies
2/4iommupt/vtd: Rename device_set_dirty_tracking() and pass dmar_domain pointerdrivers/iommu/intel/iommu.c+9 -121 reply
3/4iommupt/vtd: Support dirty tracking on PASIDdrivers/iommu/intel/iommu.c drivers/iommu/intel/nested.c+10 -81 reply
4/4iommufd/selftest: Test dirty tracking on PASIDtools/testing/selftests/iommu/iommufd.c+27 -01 reply

Reviews trailers per patch

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

PatchYi LiuKevin Tian
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-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] iommupt/vtd: Support dirty tracking on PASID

Hi,

When we add pasid support in QEMU for passthrough device, we found PASID attachment to a nested parent domain with dirty tracking failed.

It's because PASID-level dirty tracking is not there yet, by adding it, we can enable PASID attachment to such domain.

Thanks
Zhenzhong

Changelog:
v2:
- a new patch1 to add a check in intel_nested_set_dev_pasid() (Kevin)
- s/device_set_dirty_tracking/domain_set_dirty_tracking (Liuyi)
- add R-b

Zhenzhong Duan (4):
iommu/vt-d: Block PASID attachment to nested domain with dirty
tracking
iommupt/vtd: Rename device_set_dirty_tracking() and pass dmar_domain
pointer
iommupt/vtd: Support dirty tracking on PASID iommufd/selftest: Test dirty tracking on PASID

 drivers/iommu/intel/iommu.c             | 33 ++++++++++++++-----------
 tools/testing/selftests/iommu/iommufd.c | 27 ++++++++++++++++++++
 2 files changed, 45 insertions(+), 15 deletions(-)
Signature · 1 line
2.47.3