On 2022.11.23 05:48:30 -0800, Yi Liu wrote: > Jason's "Connect VFIO to IOMMUFD" introduces vfio iommufd compat mode. Under > this mode, vfio_iommufd_bind() creates an access which has an unmap callback, > which can be called immediately. This means mdev drivers may receive unmap > requests before the mdev is opened. For now, most dma_unmap() callbacks are > tolerant with such unmap requests, except for gvt-g and vfio-ap. This series > tries to enhance the two drivers. > > This series is based on Jason's below branch. > > https://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git/log/?h=for-next > (commit: 57f62422b6f0477afaddd2fc77a4bb9b94275f42) > > Cc: Tony Krowiak <akrowiak@xxxxxxxxxxxxx> > Cc: Halil Pasic <pasic@xxxxxxxxxxxxx> > Cc: Jason Herne <jjherne@xxxxxxxxxxxxx> > Cc: Zhenyu Wang <zhenyuw@xxxxxxxxxxxxxxx> > Cc: Zhi Wang <zhi.a.wang@xxxxxxxxx> > Cc: Kevin Tian <kevin.tian@xxxxxxxxx> > > Regards, > Yi Liu > > Matthew Rosato (1): > vfio/ap: validate iova during dma_unmap and trigger irq disable > > Yi Liu (1): > i915/gvt: Move kvmgt_protect_table_init() and gvt_cache_init() into > init btw, for gvt change, pls at least add intel-gvt-dev@xxxxxxxxxxxxxxxxxxxxx in cc. thanks > > drivers/gpu/drm/i915/gvt/gvt.h | 2 ++ > drivers/gpu/drm/i915/gvt/kvmgt.c | 7 ++----- > drivers/gpu/drm/i915/gvt/vgpu.c | 2 ++ > drivers/s390/crypto/vfio_ap_ops.c | 24 +++++++++++++++++++++++- > 4 files changed, 29 insertions(+), 6 deletions(-) > > -- > 2.34.1 >
Attachment:
signature.asc
Description: PGP signature