diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2024-06-27 14:00:59 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-06-28 19:12:22 +0300 |
commit | dceb5304d7263f72333d25e5940254f98b663010 (patch) | |
tree | 3bceaf8b6d2be051635c4c6fc2a33d28d10b468a /tools/perf/scripts/python/sctop.py | |
parent | ffa3c799ce157493615f9f3c2b3c9ba602d320b9 (diff) | |
download | linux-dceb5304d7263f72333d25e5940254f98b663010.tar.xz |
iommufd/selftest: Do not record head iova to better match iommu drivers
Do not set a hugepage-aligned IOVA for incrementing an IOVA, to better
match current IOMMU driver implementations. Keep the logic of clearing all
IOPTE dirty bits for a whole hugepage, even if the range being dirtied
starts from part of the hugepage. This is also similar to AMD driver (iommu
v1 format) where IOMMU uses various subpage PTE data for dirty tracking
(for non-standard page sizes).
Link: https://lore.kernel.org/r/20240627110105.62325-6-joao.m.martins@oracle.com
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Matt Ochs <mochs@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions