diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2023-07-17 21:12:14 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-07-26 16:20:36 +0300 |
commit | 7a467e02b339a50ed2762edd72e763925ac2b0a3 (patch) | |
tree | c3722e12003b75e6f38d2116324075931e285ab8 /drivers/iommu/iova.c | |
parent | 7074d7bd67d495cb3f6fe7c7c96b357a3b9d4ec2 (diff) | |
download | linux-7a467e02b339a50ed2762edd72e763925ac2b0a3.tar.xz |
iommufd/selftest: Return the real idev id from selftest mock_domain
Now that we actually call iommufd_device_bind() we can return the
idev_id from that function to userspace for use in other APIs.
Link: https://lore.kernel.org/r/18-v8-6659224517ea+532-iommufd_alloc_jgg@nvidia.com
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/iommu/iova.c')
0 files changed, 0 insertions, 0 deletions