diff options
| author | 2025-03-21 10:19:37 -0700 | |
|---|---|---|
| committer | 2025-03-25 10:18:31 -0300 | |
| commit | 9eb59204d5197b4add63968c8c5b7633631f9a5a (patch) | |
| tree | f763c69a07a1cbcbccb4544283b7ecedcaf8743f /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | iommufd: Allow allocating PASID-compatible domain (diff) | |
iommufd/selftest: Add set_dev_pasid in mock iommu
The callback is needed to make pasid_attach/detach path complete for mock
device. A nop is enough for set_dev_pasid.
A MOCK_FLAGS_DEVICE_PASID is added to indicate a pasid-capable mock device
for the pasid test cases. Other test cases will still create a non-pasid
mock device. While the mock iommu always pretends to be pasid-capable.
Link: https://patch.msgid.link/r/20250321171940.7213-16-yi.l.liu@intel.com
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
