drivers/infiniband/core/ib_core_uverbs.c | 2 +- drivers/infiniband/core/uverbs_std_types_dmabuf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
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
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
© 2016 - 2026 Red Hat, Inc.