On Wed, Aug 14, 2024 at 04:19:13PM +0800, Yi Liu wrote: > /** > * enum iommufd_hw_capabilities > * @IOMMU_HW_CAP_DIRTY_TRACKING: IOMMU hardware support for dirty tracking > * If available, it means the following APIs > * are supported: > * > * IOMMU_HWPT_GET_DIRTY_BITMAP > * IOMMU_HWPT_SET_DIRTY_TRACKING > * > */ > enum iommufd_hw_capabilities { > IOMMU_HW_CAP_DIRTY_TRACKING = 1 << 0, > }; I think it would be appropriate to add the flag here Is it OK to rely on the PCI config space PASID enable? I see all the drivers right now are turning on PASID support during probe if the iommu supports it. Jason