[Intel-gfx] [PATCH v3 0/6] vfio: Make emulated devices prepared for vfio device cdev
Jason Gunthorpe
jgg at nvidia.com
Wed Mar 29 19:47:39 UTC 2023
On Mon, Mar 27, 2023 at 02:33:45AM -0700, Yi Liu wrote:
> Nicolin Chen (1):
> iommufd: Create access in vfio_iommufd_emulated_bind()
>
> Yi Liu (5):
> iommu/iommufd: Pass iommufd_ctx pointer in iommufd_get_ioas()
> vfio-iommufd: No need to record iommufd_ctx in vfio_device
> vfio-iommufd: Make vfio_iommufd_emulated_bind() return iommufd_access
> ID
> vfio/mdev: Uses the vfio emulated iommufd ops set in the mdev sample
> drivers
> vfio: Check the presence for iommufd callbacks in
> __vfio_register_dev()
>
> drivers/iommu/iommufd/device.c | 55 +++++++++++++++----------
> drivers/iommu/iommufd/ioas.c | 14 +++----
> drivers/iommu/iommufd/iommufd_private.h | 4 +-
> drivers/iommu/iommufd/selftest.c | 14 ++++---
> drivers/iommu/iommufd/vfio_compat.c | 2 +-
> drivers/vfio/iommufd.c | 37 ++++++++---------
> drivers/vfio/vfio_main.c | 5 ++-
> include/linux/iommufd.h | 5 ++-
> include/linux/vfio.h | 1 -
> samples/vfio-mdev/mbochs.c | 3 ++
> samples/vfio-mdev/mdpy.c | 3 ++
> samples/vfio-mdev/mtty.c | 3 ++
> 12 files changed, 85 insertions(+), 61 deletions(-)
It looks like most of this is iommufd so I will take it - Ok Alex?
The following cdev patch needs it so I'll stick it on its own branch
and we can sort it out after the reset series is done
Thanls,
Jason
More information about the Intel-gfx
mailing list