iommufd: Add data structure for Intel VT-d stage-1 domain allocation
authorYi Liu <yi.l.liu@intel.com>
Thu, 26 Oct 2023 04:42:09 +0000 (21:42 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 26 Oct 2023 14:16:33 +0000 (11:16 -0300)
commit82b6661c9c35e60946dee536545b4848f25eafab
treee159e339ab84f400e1a75ef504723f9fc2a845f3
parenta2cdecdf9d234455fdfc8f539bbf5818711bc29d
iommufd: Add data structure for Intel VT-d stage-1 domain allocation

This adds IOMMU_HWPT_DATA_VTD_S1 for stage-1 hw_pagetable of Intel
VT-d and the corressponding data structure for userspace specified parameter
for the domain allocation.

Link: https://lore.kernel.org/r/20231026044216.64964-2-yi.l.liu@intel.com
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
include/uapi/linux/iommufd.h