Please pull vfio/iommufd changes
Hi Alex,
Here is the shared branch for the mdev changes
Yi, you should base your series on this commit 7d12578c5d508050554bcd9ca3d2331914d86d71.
Thanks,
Jason
The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:
Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)
are available in the Git repository at:
//git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git vfio_mdev_ops
for you to fetch changes up to 7d12578c5d508050554bcd9ca3d2331914d86d71:
vfio: Check the presence for iommufd callbacks in __vfio_register_dev() (2023-03-31 13:43:32 -0300)
----------------------------------------------------------------
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 | 56 +++++++++++++++++++++++++++++++++----------------------- 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(+), 62 deletions(-)
Quoted 9 lines
From: Jason Gunthorpe <[email protected]>
Sent: Tuesday, April 4, 2023 12:16 AMHi Alex,
Here is the shared branch for the mdev changes
Yi, you should base your series on this commit
7d12578c5d508050554bcd9ca3d2331914d86d71.
got it. I just got some comments from Eric. Below branch is the latest.
https://github.com/yiliu1765/iommufd/tree/vfio_mdev_ops%2Bhot_reset%2Bcdev
Regards,
Yi Liu