linux/drivers/infiniband/hw
Moni Shoua 7095ec3ca0 IB/mlx5: Set correct write permissions for implicit ODP MR
The write access of an implicit MR is inherited to all of its children.
Therefore we must set the correct write access to the parent MR.

Pass full access_flags when creating umem to let it calculate write access
correctly.

Fixes: da6a496a34 ("IB/mlx5: Ranges in implicit ODP MR inherit its write access")
Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-03-04 10:57:19 -04:00
..
bnxt_re bnxt_re: Clean cq for kernel consumers only 2019-03-04 10:51:14 -04:00
cxgb3 RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
cxgb4 RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
hfi1 IB/hfi1: Add missing break in switch statement 2019-02-21 14:08:12 -07:00
hns RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
i40iw RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
mlx4 RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
mlx5 IB/mlx5: Set correct write permissions for implicit ODP MR 2019-03-04 10:57:19 -04:00
mthca RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
nes RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
ocrdma RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
qedr RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
qib drivers/IB,qib: Fix pinned/locked limit check in qib_get_user_pages() 2019-02-20 14:42:41 -07:00
usnic RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
vmw_pvrdma RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00