On 2022/11/24 14:50, Tian, Kevin wrote:
From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
Sent: Wednesday, November 23, 2022 9:49 PM
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.
there are only three drivers (gvt, vfio-ap and vfio-ccw) providing
dma_unmap().
I'd not call the situation where only one driver is OK as "most
dma_unmap() callbacks are tolerant".
oh, yes. will refine it.
--
Regards,
Yi Liu