Re: [PATCH v2 0/4] dma-buf: document revoke mechanism to invalidate shared buffers
From: Jason Gunthorpe
Date: Mon Jan 19 2026 - 11:24:26 EST
On Mon, Jan 19, 2026 at 10:27:00AM +0100, Thomas Hellström wrote:
> this sounds like it's not just undocumented but also in some cases
> unimplemented. The xe driver for one doesn't expect move_notify() to be
> called on pinned buffers, so if that is indeed going to be part of the
> dma-buf protocol, wouldn't support for that need to be advertised by
> the importer?
Can you clarify this?
I don't see xe's importer calling dma_buf_pin() or dma_buf_attach()
outside of tests? It's importer implements a fully functional looking
dynamic attach with move_notify()?
I see the exporer is checking for pinned and then not calling
move_notify - is that what you mean?
When I looked through all the importers only RDMA obviously didn't
support move_notify on pinned buffers.
Jason