Messages in this thread | | | From | "Tian, Kevin" <> | Subject | RE: [PATCH v3 03/17] iommufd/hw_pagetable: Use domain_alloc_user op for domain allocation | Date | Fri, 28 Jul 2023 09:39:35 +0000 |
| |
> From: Liu, Yi L <yi.l.liu@intel.com> > Sent: Monday, July 24, 2023 7:04 PM > > This makes IOMMUFD to use iommu_domain_alloc_user() for > iommu_domain > creation as IOMMUFD needs to support iommu_domain allocation with > parameters from userspace in nesting support. If the iommu driver > doesn't provide domain_alloc_user callback then it falls back to use > iommu_domain_alloc(). > > Suggested-by: Jason Gunthorpe <jgg@nvidia.com> > Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> > Co-developed-by: Nicolin Chen <nicolinc@nvidia.com> > Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> > Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
| |