iommufd/selftest: Rename the sefltest 'device_id' to 'stdev_id'
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 1 Mar 2023 19:30:24 +0000 (15:30 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 6 Mar 2023 14:51:58 +0000 (10:51 -0400)
commit2cfdeaa07be391de5f2faf79a7319f04f39914e3
tree1b3f1e034834a4662ac1cce769690dbbc24e80fb
parent339fbf3ae144263725ccb7694cd2366d5e0c6ebf
iommufd/selftest: Rename the sefltest 'device_id' to 'stdev_id'

It is too confusing now that we have the 'dev_id' as part of the main
interface. Make it clear this is the special selftest device object. This
object is analogous to the VFIO device FD.

Link: https://lore.kernel.org/r/7-v3-ae9c2975a131+2e1e8-iommufd_hwpt_jgg@nvidia.com
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/iommu/iommufd/iommufd_test.h
drivers/iommu/iommufd/selftest.c
tools/testing/selftests/iommu/iommufd_utils.h