Re: [PATCH vfio-rc] vfio: Prevent from pinned DMABUF importers to attach to VFIO DMABUF
From: Jason Gunthorpe
Date: Wed Jan 21 2026 - 11:03:13 EST
On Wed, Jan 21, 2026 at 05:45:02PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> Some pinned importers, such as non-ODP RDMA ones, cannot invalidate their
> mappings and therefore must be prevented from attaching to this exporter.
>
> Fixes: 5d74781ebc86 ("vfio/pci: Add dma-buf export support for MMIO regions")
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> ---
> This is an outcome of this discussion about revoke functionality.
> https://lore.kernel.org/all/20260121134712.GZ961572@xxxxxxxx
>
> Thanks
> ---
> drivers/vfio/pci/vfio_pci_dmabuf.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Alex this is quite important to pick up this cycle.
Thanks,
Jason