diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2023-02-03 20:45:57 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-02-03 20:55:49 +0100 |
commit | bed9e516f1183faa0e484479701cc669efd9049a (patch) | |
tree | 530effa39d2ff59766340cd7d8628cf1acb7164e /drivers/iommu/iommufd/iommufd_private.h | |
parent | Merge branch 'iommu-memory-accounting' of ssh://gitolite.kernel.org/pub/scm/l... (diff) | |
parent | vfio: Support VFIO_NOIOMMU with iommufd (diff) | |
download | linux-bed9e516f1183faa0e484479701cc669efd9049a.tar.xz linux-bed9e516f1183faa0e484479701cc669efd9049a.zip |
Merge branch 'vfio-no-iommu' into iommufd.git for-next
Shared branch with VFIO for the no-iommu support.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/iommu/iommufd/iommufd_private.h')
-rw-r--r-- | drivers/iommu/iommufd/iommufd_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iommu/iommufd/iommufd_private.h b/drivers/iommu/iommufd/iommufd_private.h index 222e86591f8a..9d7f71510ca1 100644 --- a/drivers/iommu/iommufd/iommufd_private.h +++ b/drivers/iommu/iommufd/iommufd_private.h @@ -18,6 +18,8 @@ struct iommufd_ctx { struct xarray objects; u8 account_mode; + /* Compatibility with VFIO no iommu */ + u8 no_iommu_mode; struct iommufd_ioas *vfio_ioas; }; |