]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommufd: Allow allocating PASID-compatible domain
authorYi Liu <yi.l.liu@intel.com>
Fri, 21 Mar 2025 17:19:36 +0000 (10:19 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 25 Mar 2025 13:18:31 +0000 (10:18 -0300)
commitdbc5f37b4f8ad833132f77c1f67e68bb11ca9b9e
tree838b64b607b1cc7a180e3f270554025e54ac0aeb
parentce15c13e7a1423cf418f825d33ab1747b151cfd6
iommufd: Allow allocating PASID-compatible domain

The underlying infrastructure has supported the PASID attach and related
enforcement per the requirement of the IOMMU_HWPT_ALLOC_PASID flag. This
extends iommufd to support PASID compatible domain requested by userspace.

Link: https://patch.msgid.link/r/20250321171940.7213-15-yi.l.liu@intel.com
Reviewed-by: Jason Gunthorpe <jgg@nvidia.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>
drivers/iommu/iommufd/hw_pagetable.c
include/uapi/linux/iommufd.h