Re: [PATCH v3 09/16] iommufd/viommu: Add vdev_to_dev helper

From: Jason Gunthorpe
Date: Thu Oct 17 2024 - 15:10:03 EST


On Wed, Oct 09, 2024 at 09:38:21AM -0700, Nicolin Chen wrote:
> This avoids a bigger trouble of moving the struct iommufd_device to the
> public header.
>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> ---
> include/linux/iommufd.h | 7 +++++++
> drivers/iommu/iommufd/viommu_api.c | 7 +++++++
> 2 files changed, 14 insertions(+)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason