mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 01:25:49 -04:00
The nested domain is allocated with IOMMU_DOMAIN_NESTED type to store stage-1 translation (i.e. GVA->GPA). This includes the GCR3 root pointer table along with guest page tables. The struct iommu_hwpt_amd_guest contains this information, and is passed from user-space as a parameter of the struct iommu_ops.domain_alloc_nested(). Reviewed-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
5 lines
186 B
Makefile
5 lines
186 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-y += iommu.o init.o quirks.o ppr.o pasid.o
|
|
obj-$(CONFIG_AMD_IOMMU_IOMMUFD) += iommufd.o nested.o
|
|
obj-$(CONFIG_AMD_IOMMU_DEBUGFS) += debugfs.o
|