linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
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
..
ah.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
cmd.c RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
cmd.h RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
cong.c infiniband: mlx5: no need to check return value of debugfs_create functions 2019-01-24 09:22:29 -07:00
cq.c IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00
devx.c IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs 2019-02-15 15:38:38 -07:00
doorbell.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
flow.c RDMA/mlx5: Fix flow creation on representors 2019-01-25 11:58:06 -07:00
gsi.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
ib_rep.c Merge branch 'mlx5-next' into rdma.git for-next 2019-02-21 12:40:18 -07:00
ib_rep.h IB/mlx5: Use unified register/load function for uplink and VF vports 2019-02-14 12:14:41 -08:00
ib_virt.c
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
mad.c RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
main.c RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
Makefile net/mlx5: Move SRQ functions to RDMA part 2018-12-04 09:14:30 +02:00
mem.c RDMA/mlx5: Embed into the code flow the ODP config option 2019-01-08 16:41:38 -07:00
mlx5_ib.h IB/mlx5: Protect against prefetch of invalid MR 2019-02-21 16:32:45 -07:00
mr.c IB/mlx5: Protect against prefetch of invalid MR 2019-02-21 16:32:45 -07:00
odp.c IB/mlx5: Set correct write permissions for implicit ODP MR 2019-03-04 10:57:19 -04:00
qp.c IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs 2019-02-15 15:38:38 -07:00
srq_cmd.c IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00
srq.c IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs 2019-02-15 15:38:38 -07:00
srq.h IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00