diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2025-04-08 13:54:07 -0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2025-04-17 16:22:48 +0200 |
commit | d50aaa4a9ffb0149d2187dfe3477300561f06fec (patch) | |
tree | 07febac9b14321e5d71e45abb792698651a6e565 /tools/perf/scripts/python/gecko.py | |
parent | 9dda3f01ddf056ec023c89e43354fa3caabd8fb9 (diff) |
iommu: Update various drivers to pass in lg2sz instead of order to iommu pages
Convert most of the places calling get_order() as an argument to the
iommu-pages allocator into order_base_2() or the _sz flavour
instead. These places already have an exact size, there is no particular
reason to use order here.
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Tested-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/19-v4-c8663abbb606+3f7-iommu_pages_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions