Home
last modified time | relevance | path

Searched refs:dirty_tracking (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/iommu/intel/
Dpasid.c419 if (domain->dirty_tracking) in intel_pasid_setup_second_level()
659 if (s2_domain->dirty_tracking) in intel_pasid_setup_nested()
Diommu.c3530 bool dirty_tracking = flags & IOMMU_HWPT_ALLOC_DIRTY_TRACKING; in intel_iommu_domain_alloc_user() local
3548 if (user_data || (dirty_tracking && !ssads_supported(iommu))) in intel_iommu_domain_alloc_user()
3566 if (dirty_tracking) { in intel_iommu_domain_alloc_user()
4411 domain->dirty_tracking); in parent_domain_set_dirty_tracking()
4425 if (dmar_domain->dirty_tracking == enable) in intel_iommu_set_dirty_tracking()
4438 dmar_domain->dirty_tracking = enable; in intel_iommu_set_dirty_tracking()
4446 dmar_domain->dirty_tracking); in intel_iommu_set_dirty_tracking()
4466 if (!dmar_domain->dirty_tracking && dirty->bitmap) in intel_iommu_read_and_clear_dirty()
Diommu.h612 u8 dirty_tracking:1; /* Dirty tracking is enabled */ member
/linux-6.12.1/drivers/iommu/amd/
Diommu.c1885 if (domain->dirty_tracking) in set_dte_entry()
2345 bool dirty_tracking = flags & IOMMU_HWPT_ALLOC_DIRTY_TRACKING; in do_iommu_domain_alloc() local
2359 if (dirty_tracking && !amd_iommu_hd_support(iommu)) in do_iommu_domain_alloc()
2376 if (dirty_tracking) in do_iommu_domain_alloc()
2631 if (!(pdomain->dirty_tracking ^ enable)) { in amd_iommu_set_dirty_tracking()
2655 pdomain->dirty_tracking = enable; in amd_iommu_set_dirty_tracking()
2674 if (!pdomain->dirty_tracking && dirty->bitmap) { in amd_iommu_read_and_clear_dirty()
Damd_iommu_types.h580 bool dirty_tracking; /* dirty tracking is enabled in the domain */ member