]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/umem: Use consistent DMA attributes when unmapping entries
authorLeon Romanovsky <leonro@nvidia.com>
Mon, 23 Mar 2026 20:10:18 +0000 (22:10 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 30 Mar 2026 17:47:45 +0000 (13:47 -0400)
commit179b32095854d44749dd535502f05d95bbf43775
treedfda9d51050e78097a44a9e48e817593a7a77646
parente6fd2491789745ed8c3df86a660dfa7207129d22
RDMA/umem: Use consistent DMA attributes when unmapping entries

The DMA API expects that mapping and unmapping use the same DMA
attributes. The RDMA umem code did not meet this requirement, so fix
the mismatch.

Fixes: f03d9fadfe13 ("RDMA/core: Add weak ordering dma attr to dma mapping")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/core/umem.c
include/rdma/ib_umem.h