* [PATCH] RDMA/uverbs: follow rename of dma_buf_move_notify()
@ 2026-02-23 13:11 Simon Richter
2026-02-24 10:07 ` Leon Romanovsky
0 siblings, 1 reply; 2+ messages in thread
From: Simon Richter @ 2026-02-23 13:11 UTC (permalink / raw)
To: linux-kernel, linux-rdma; +Cc: Simon Richter, Leon Romanovsky, Yishai Hadas
Commit 95308225e5ba ("dma-buf: Rename dma_buf_move_notify() to
dma_buf_invalidate_mappings()" does precisely what it says, and commit
0ac6f4056c4a ("RDMA/uverbs: Add DMABUF object type and operations"), which
was merged during the same window, started using the old name.
Cc: Leon Romanovsky <leon@kernel.org>
Cc: Yishai Hadas <yishaih@nvidia.com>
Fixes: 0ac6f4056c4a ("RDMA/uverbs: Add DMABUF object type and operations")
Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
---
drivers/infiniband/core/ib_core_uverbs.c | 2 +-
drivers/infiniband/core/uverbs_std_types_dmabuf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/core/ib_core_uverbs.c b/drivers/infiniband/core/ib_core_uverbs.c
index d3836a62a004..d6e99c79cf18 100644
--- a/drivers/infiniband/core/ib_core_uverbs.c
+++ b/drivers/infiniband/core/ib_core_uverbs.c
@@ -246,7 +246,7 @@ void rdma_user_mmap_entry_remove(struct rdma_user_mmap_entry *entry)
dma_resv_lock(uverbs_dmabuf->dmabuf->resv, NULL);
list_del(&uverbs_dmabuf->dmabufs_elm);
uverbs_dmabuf->revoked = true;
- dma_buf_move_notify(uverbs_dmabuf->dmabuf);
+ dma_buf_invalidate_mappings(uverbs_dmabuf->dmabuf);
dma_resv_wait_timeout(uverbs_dmabuf->dmabuf->resv,
DMA_RESV_USAGE_BOOKKEEP, false,
MAX_SCHEDULE_TIMEOUT);
diff --git a/drivers/infiniband/core/uverbs_std_types_dmabuf.c b/drivers/infiniband/core/uverbs_std_types_dmabuf.c
index dfdfcd1d1a44..149220a1599c 100644
--- a/drivers/infiniband/core/uverbs_std_types_dmabuf.c
+++ b/drivers/infiniband/core/uverbs_std_types_dmabuf.c
@@ -167,7 +167,7 @@ static void uverbs_dmabuf_fd_destroy_uobj(struct ib_uobject *uobj,
if (!uverbs_dmabuf->revoked) {
uverbs_dmabuf->revoked = true;
list_del(&uverbs_dmabuf->dmabufs_elm);
- dma_buf_move_notify(uverbs_dmabuf->dmabuf);
+ dma_buf_invalidate_mappings(uverbs_dmabuf->dmabuf);
dma_resv_wait_timeout(uverbs_dmabuf->dmabuf->resv,
DMA_RESV_USAGE_BOOKKEEP, false,
MAX_SCHEDULE_TIMEOUT);
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] RDMA/uverbs: follow rename of dma_buf_move_notify()
2026-02-23 13:11 [PATCH] RDMA/uverbs: follow rename of dma_buf_move_notify() Simon Richter
@ 2026-02-24 10:07 ` Leon Romanovsky
0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2026-02-24 10:07 UTC (permalink / raw)
To: Simon Richter; +Cc: linux-kernel, linux-rdma, Yishai Hadas
On Mon, Feb 23, 2026 at 10:11:34PM +0900, Simon Richter wrote:
> Commit 95308225e5ba ("dma-buf: Rename dma_buf_move_notify() to
> dma_buf_invalidate_mappings()" does precisely what it says, and commit
> 0ac6f4056c4a ("RDMA/uverbs: Add DMABUF object type and operations"), which
> was merged during the same window, started using the old name.
>
> Cc: Leon Romanovsky <leon@kernel.org>
> Cc: Yishai Hadas <yishaih@nvidia.com>
> Fixes: 0ac6f4056c4a ("RDMA/uverbs: Add DMABUF object type and operations")
It was handled by this commit
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=61c0f69a2ff79c8f388a9e973abb4853be467127,
This rename doesn't exist in RDMA tree yet, there is nothing to fix here.
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-24 10:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 13:11 [PATCH] RDMA/uverbs: follow rename of dma_buf_move_notify() Simon Richter
2026-02-24 10:07 ` Leon Romanovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox