Commit 587f3e90 authored by Yi Liu's avatar Yi Liu Committed by Jason Zeng
Browse files

iommufd: Support allocating nested parent domain

mainline inclusion
from mainline-v6.7-rc1
commit 4ff542163397073f86eda484318d61980ff1031d
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/?4ff542163397073f86eda484318d61980ff1031d

--------------------------------

Extend IOMMU_HWPT_ALLOC to allocate domains to be used as parent (stage-2)
in nested translation.

Add IOMMU_HWPT_ALLOC_NEST_PARENT to the uAPI.

Intel-SIG: 4ff542163397 iommufd: Support allocating nested parent domain
Backport IOMMUFD Dirty Tracking

Link: https://lore.kernel.org/r/20230928071528.26258-5-yi.l.liu@intel.com


Signed-off-by: default avatarYi Liu <yi.l.liu@intel.com>
Reviewed-by: default avatarKevin Tian <kevin.tian@intel.com>
Reviewed-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
[ jz: amend commit log ]
Signed-off-by: default avatarJason Zeng <jason.zeng@intel.com>
parent c87b5973
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment