diff options
| author | 2024-11-05 12:04:21 -0800 | |
|---|---|---|
| committer | 2024-11-12 11:46:18 -0400 | |
| commit | 4db97c21ed07a7d4081ed9820599fa36857083d6 (patch) | |
| tree | 4c17904ec068d29183065b3e9569498670f24422 /security/integrity/git:/ssh:/git@git.zx2c4.com | |
| parent | iommufd: Verify object in iommufd_object_finalize/abort() (diff) | |
iommufd/viommu: Add IOMMU_VIOMMU_ALLOC ioctl
Add a new ioctl for user space to do a vIOMMU allocation. It must be based
on a nesting parent HWPT, so take its refcount.
IOMMU driver wanting to support vIOMMUs must define its IOMMU_VIOMMU_TYPE_
in the uAPI header and implement a viommu_alloc op in its iommu_ops.
Link: https://patch.msgid.link/r/dc2b8ba9ac935007beff07c1761c31cd097ed780.1730836219.git.nicolinc@nvidia.com
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'security/integrity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
