mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] iommupt/vtd: Support dirty tracking on PASID
@ 2026-03-30 10:11 Zhenzhong Duan
  2026-03-30 10:11 ` [PATCH v2 1/4] iommu/vt-d: Block PASID attachment to nested domain with dirty tracking Zhenzhong Duan
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Zhenzhong Duan @ 2026-03-30 10:11 UTC (permalink / raw)
  To: iommu, linux-kernel
  Cc: dwmw2, jgg, kevin.tian, joro, will, robin.murphy, baolu.lu,
	yi.l.liu, Zhenzhong Duan

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(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-04-01  9:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-30 10:11 [PATCH v2 0/4] iommupt/vtd: Support dirty tracking on PASID Zhenzhong Duan
2026-03-30 10:11 ` [PATCH v2 1/4] iommu/vt-d: Block PASID attachment to nested domain with dirty tracking Zhenzhong Duan
2026-03-31  7:19   ` Tian, Kevin
2026-03-31  7:36   ` Yi Liu
2026-04-01  9:02     ` Duan, Zhenzhong
2026-03-30 10:11 ` [PATCH v2 2/4] iommupt/vtd: Rename device_set_dirty_tracking() and pass dmar_domain pointer Zhenzhong Duan
2026-03-31  7:19   ` Tian, Kevin
2026-03-30 10:11 ` [PATCH v2 3/4] iommupt/vtd: Support dirty tracking on PASID Zhenzhong Duan
2026-03-31  7:19   ` Tian, Kevin
2026-03-30 10:11 ` [PATCH v2 4/4] iommufd/selftest: Test " Zhenzhong Duan
2026-03-31  7:19   ` Tian, Kevin
2026-04-01  6:46 ` [PATCH v2 0/4] iommupt/vtd: Support " Baolu Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome