aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2025-04-08 13:54:07 -0300
committerJoerg Roedel <jroedel@suse.de>2025-04-17 16:22:48 +0200
commitd50aaa4a9ffb0149d2187dfe3477300561f06fec (patch)
tree07febac9b14321e5d71e45abb792698651a6e565 /lib/mpi/mpi-sub-ui.c
parentiommu/riscv: Update to use iommu_alloc_pages_node_lg2() (diff)
downloadwireguard-linux-d50aaa4a9ffb0149d2187dfe3477300561f06fec.tar.xz
wireguard-linux-d50aaa4a9ffb0149d2187dfe3477300561f06fec.zip
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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions