iommu/vt-d: Add domain_alloc_user op
mainline inclusion from mainline-v6.7-rc1 commit c97d1b20d3835178bcd0e3a86c20ce4e36b6d80c category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8Y6AM CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?c97d1b20d3835178bcd0e3a86c20ce4e36b6d80c -------------------------------- Add the domain_alloc_user() op implementation. It supports allocating domains to be used as parent under nested translation. Unlike other drivers VT-D uses only a single page table format so it only needs to check if the HW can support nesting. Intel-SIG: c97d1b20d383 iommu/vt-d: Add domain_alloc_user op Backport IOMMUFD Dirty Tracking Link: https://lore.kernel.org/r/20230928071528.26258-7-yi.l.liu@intel.com Signed-off-by:Yi Liu <yi.l.liu@intel.com> Reviewed-by:
Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by:
Kevin Tian <kevin.tian@intel.com> Signed-off-by:
Jason Gunthorpe <jgg@nvidia.com> [ jz: amend commit log ] Signed-off-by:
Jason Zeng <jason.zeng@intel.com>
Loading
Please sign in to comment