RE: [PATCH v2 3/4] iommupt/vtd: Support dirty tracking on PASID
From: Tian, Kevin
Date: Tue Mar 31 2026 - 03:20:56 EST
> From: Duan, Zhenzhong <zhenzhong.duan@xxxxxxxxx>
> Sent: Monday, March 30, 2026 6:11 PM
>
> In order to support passthrough device with PASID capability in QEMU,
> e.g., DSA device, kernel needs to support attaching PASID to a domain.
>
> But attaching is not allowed if the domain is a second stage domain or
> nested domain with dirty tracking.
>
> The reason is kernel lacking support for dirty tracking on such domain
> attached to PASID. By adding dirty tracking on PASID, the check can be
> removed.
>
> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@xxxxxxxxx>
> Reviewed-by: Yi Liu <yi.l.liu@xxxxxxxxx>
Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>