> From: Leon Romanovsky <[email protected]>
> Sent: Sunday, January 25, 2026 3:14 AM
> 
> From: Leon Romanovsky <[email protected]>
> 
> Till now VFIO has rejected pinned importers, largely to avoid being used
> with the RDMA pinned importer that cannot handle a move_notify() to
> revoke
> access.
> 
> Using dma_buf_attach_revocable() it can tell the difference between pinned
> importers that support the flow described in dma_buf_invalidate_mappings()
> and those that don't.
> 
> Thus permit compatible pinned importers.
> 
> This is one of two items IOMMUFD requires to remove its private interface
> to VFIO's dma-buf.
> 
> Signed-off-by: Leon Romanovsky <[email protected]>

Reviewed-by: Kevin Tian <[email protected]>

Reply via email to