>Improve the API to work directly on sizes instead of order, the drivers > generally have HW specs and code paths that already have specific sizes. > Pass those sizes down into the allocator to remove some boiler plate > get_order() in drivers. This is cleanup to be ready for a possible sub > page allocator some day. > > This is on github: https://github.com/jgunthorpe/linux/commits/iommu_pages > > v3: Tested v3 on AMD Zen4 bare metal host, using v1/v2 page table formats. Ran host kernel with iommu.passthrough=0. Launched KVM guest with large memory (512+ G) and 16 VFs. No errors or warnings found. Tested-by: Alejandro Jimenez <alejandro.j.jimenez@xxxxxxxxxx>