iommu/vt-d: Add iotlb flush for nested domain
authorLu Baolu <baolu.lu@linux.intel.com>
Thu, 11 Jan 2024 04:10:15 +0000 (20:10 -0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 11 Jan 2024 19:53:28 +0000 (15:53 -0400)
commitf6f3721244a8224fa97952b34fbb21e4ee40e8a8
tree04ba6d5c31a51e03087a80854e037bb5af58e95e
parent393a5778b72a7b551493d0fd3fbe0282154058fe
iommu/vt-d: Add iotlb flush for nested domain

This implements the .cache_invalidate_user() callback to support iotlb
flush for nested domain.

Link: https://lore.kernel.org/r/20240111041015.47920-9-yi.l.liu@intel.com
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Co-developed-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/iommu/intel/nested.c