This patch-set, originaly part of Shared PD & MR patch-set, intend to take out the field ucontext from the HW objects ib_pd and ib_mr. Shamir Rabinovitch (3): RDMA/uverbs: uobj_get_obj_read should return the ib_uobject RDMA/uverbs: Delete the macro uobj_put_obj_read IB/{core,hw}: ib_pd should not have ib_uobject pointer Yuval Shaia (1): IB/core: ib_mr should not have ib_uobject pointer drivers/infiniband/core/uverbs_cmd.c | 219 +++++++++++------- drivers/infiniband/core/uverbs_std_types_mr.c | 1 - drivers/infiniband/core/verbs.c | 4 - drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 1 - drivers/infiniband/hw/mlx5/main.c | 1 - drivers/infiniband/hw/mthca/mthca_qp.c | 3 +- include/rdma/ib_verbs.h | 2 - include/rdma/uverbs_std_types.h | 11 +- 8 files changed, 146 insertions(+), 96 deletions(-) -- 2.20.1