> From: Jason Gunthorpe <jgg@xxxxxxxxxx> > Sent: Monday, April 14, 2025 9:47 PM > > 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@xxxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>