diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2023-10-26 07:39:29 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-10-26 17:15:56 +0300 |
commit | 54d606816b32401de5431f6776a78b1de135bfa2 (patch) | |
tree | 09b10e451e3658e3f35c7162df3717bc75a3a6f7 /fs/ramfs | |
parent | 2ccabf81ddff81355bf044bdad3c44e9e6ac32d9 (diff) | |
download | linux-54d606816b32401de5431f6776a78b1de135bfa2.tar.xz |
iommu: Add IOMMU_DOMAIN_NESTED
Introduce a new domain type for a user I/O page table, which is nested on
top of another user space address represented by a PAGING domain. This
new domain can be allocated by the domain_alloc_user op, and attached to
a device through the existing iommu_attach_device/group() interfaces.
The mappings of a nested domain are managed by user space software, so it
is not necessary to have map/unmap callbacks.
Link: https://lore.kernel.org/r/20231026043938.63898-2-yi.l.liu@intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.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>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions