summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/fsl_pamu_domain.h
diff options
context:
space:
mode:
authorJoao Martins <joao.m.martins@oracle.com>2024-02-02 14:34:12 +0100
committerJason Gunthorpe <jgg@nvidia.com>2024-02-06 16:31:45 +0100
commit02a8c61a8b06a4a082b58c3e643b28036c6be60f (patch)
tree030721d05f6ef59c436cd2e6961d0af4f1b0fe1a /drivers/iommu/fsl_pamu_domain.h
parentiommufd/selftest: Refactor dirty bitmap tests (diff)
downloadlinux-02a8c61a8b06a4a082b58c3e643b28036c6be60f.tar.xz
linux-02a8c61a8b06a4a082b58c3e643b28036c6be60f.zip
iommufd/selftest: Refactor mock_domain_read_and_clear_dirty()
Move the clearing of the dirty bit of the mock domain into mock_domain_test_and_clear_dirty() helper, simplifying the caller function. Additionally, rework the mock_domain_read_and_clear_dirty() loop to iterate over a potentially variable IO page size. No functional change intended with the loop refactor. This is in preparation for dirty tracking support for IOMMU hugepage mock domains. Link: https://lore.kernel.org/r/20240202133415.23819-7-joao.m.martins@oracle.com Signed-off-by: Joao Martins <joao.m.martins@oracle.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/iommu/fsl_pamu_domain.h')
0 files changed, 0 insertions, 0 deletions