diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-04-05 15:35:59 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-04-08 14:20:20 -0300 |
commit | cc97c6d94ed536020ab26d5c2951958a3735f4c6 (patch) | |
tree | 0c6120b5af9263b7a637ed9236a7daea15cc9538 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | d9539fb7c21ef5f47db0aeed0c32588479e32184 (diff) |
RDMA/usnic: Refactor usnic_uiom_alloc_pd()
Rather than hard-coding pci_bus_type, pass the PF device through to
usnic_uiom_alloc_pd() and retrieve its bus there. This prepares for
iommu_domain_alloc() changing to take a device rather than a bus_type.
Link: https://lore.kernel.org/r/ef607cb3f5a09920b86971b8c8e60af8c647457e.1649169359.git.robin.murphy@arm.com
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions