diff options
| author | Xu Yilun <[email protected]> | 2025-07-16 07:03:48 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2025-07-18 20:33:08 +0000 |
| commit | 39a369c34152e1b76895fda37aa586dfb9b2cf38 (patch) | |
| tree | 0baafcb25cc670bb16e0623b5bfbe571759ae57f /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | iommufd/selftest: Explicitly skip tests for inapplicable variant (diff) | |
| download | kernel-39a369c34152e1b76895fda37aa586dfb9b2cf38.tar.gz kernel-39a369c34152e1b76895fda37aa586dfb9b2cf38.zip | |
iommufd/selftest: Add coverage for vdevice tombstone
This tests the flow to tombstone vdevice when idevice is to be unbound
before vdevice destruction. The expected results of the tombstone are:
- The vdevice ID can't be reused anymore (not tested in this patch).
- Even ioctl(IOMMU_DESTROY) can't free the vdevice ID.
- iommufd_fops_release() can still free everything.
Link: https://patch.msgid.link/r/[email protected]
Reviewed-by: Nicolin Chen <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Signed-off-by: Xu Yilun <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
