[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aXHARbpAM9lRuwTN@google.com>
Date: Thu, 22 Jan 2026 06:14:29 +0000
From: Pranjal Shrivastava <praan@...gle.com>
To: Leon Romanovsky <leon@...nel.org>
Cc: Alex Williamson <alex@...zbot.org>, Ankit Agrawal <ankita@...dia.com>,
Jason Gunthorpe <jgg@...pe.ca>, Kevin Tian <kevin.tian@...el.com>,
Vivek Kasireddy <vivek.kasireddy@...el.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH vfio-rc] vfio: Prevent from pinned DMABUF importers to
attach to VFIO DMABUF
On Wed, Jan 21, 2026 at 05:45:02PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@...dia.com>
>
> 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@...dia.com>
> ---
> This is an outcome of this discussion about revoke functionality.
> https://lore.kernel.org/all/20260121134712.GZ961572@ziepe.ca
>
> Thanks
> ---
> drivers/vfio/pci/vfio_pci_dmabuf.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
Reviewed-by: Pranjal Shrivastava <praan@...gle.com>
Thanks
Powered by blists - more mailing lists