[Intel-gfx] [PATCH v2 04/10] vfio-iommufd: Add helper to retrieve iommufd_ctx and devid for vfio_device
Jason Gunthorpe
jgg at nvidia.com
Thu Mar 30 23:44:59 UTC 2023
On Mon, Mar 27, 2023 at 02:34:52AM -0700, Yi Liu wrote:
> This is needed by the vfio pci driver to report affected devices in the
> hot reset for a given device.
>
> Signed-off-by: Yi Liu <yi.l.liu at intel.com>
> ---
> drivers/iommu/iommufd/device.c | 12 ++++++++++++
> drivers/vfio/iommufd.c | 16 ++++++++++++++++
> include/linux/iommufd.h | 3 +++
> include/linux/vfio.h | 13 +++++++++++++
> 4 files changed, 44 insertions(+)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the Intel-gfx
mailing list