diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2025-04-14 10:46:39 -0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2025-05-19 12:39:27 -0600 |
commit | 07970d048cddeb56fa17925d7c37cb2400322aab (patch) | |
tree | 78d3e7173bd635a3d67bdfbd6c5ff81f65565346 /scripts/lib/kdoc/kdoc_parser.py | |
parent | a5806cd506af5a7c19bcd596e4708b5c464bfd21 (diff) |
vfio/type1: Remove Fine Grained Superpages detection
VFIO is looking to enable an optimization where it can rely on a fast
unmap operation that returned the size of a larger IOPTE.
Due to how the test was constructed this would only ever succeed on the
AMDv1 page table that supported an 8k contiguous size. Nothing else
supports this.
Alex says the performance win was fairly minor, so lets remove this
code. Always use iommu_iova_to_phys() to extent contiguous pages.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Tested-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/0-v2-97fa1da8d983+412-vfio_fgsp_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions