[PATCH 4/5] iommu/arm-smmu-v3: Add set_dirty_tracking() support

Jason Gunthorpe jgg at nvidia.com
Wed Nov 29 11:42:35 PST 2023


On Tue, Nov 28, 2023 at 09:49:39AM +0000, Shameer Kolothum wrote:
> From: Joao Martins <joao.m.martins at oracle.com>
> 
> Dirty tracking will always be enabled with DBM=1 modifier enabled
> by default when HD is supported.

Is this trying to say that ARM doesn't have a per-table global enable
for dirty tracking but instead pre-sets the DBM bit to avoid the cost?

So on smmuv3 to enable we have to clear everything and disable
continues to pay a penalty since we don't go and mark all things as
dirty again?

Jason



More information about the linux-arm-kernel mailing list