Merge tag 'v5.13-rc7' into rdma.git for-next
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 22 Jun 2021 17:42:52 +0000 (14:42 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 22 Jun 2021 17:43:51 +0000 (14:43 -0300)
Linux 5.13-rc7

Needed for dependencies in following patches. Merge conflict in rxe_cmop.c
resolved by compining both patches.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
13 files changed:
1  2 
MAINTAINERS
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx5/cq.c
drivers/infiniband/hw/mlx5/doorbell.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/sw/rxe/rxe_comp.c
drivers/infiniband/sw/rxe/rxe_qp.c
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_hw_autogen.h
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_main.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -41,9 -41,11 +41,10 @@@ struct mlx5_ib_user_db_page 
        struct ib_umem         *umem;
        unsigned long           user_virt;
        int                     refcnt;
+       struct mm_struct        *mm;
  };
  
 -int mlx5_ib_db_map_user(struct mlx5_ib_ucontext *context,
 -                      struct ib_udata *udata, unsigned long virt,
 +int mlx5_ib_db_map_user(struct mlx5_ib_ucontext *context, unsigned long virt,
                        struct mlx5_db *db)
  {
        struct mlx5_ib_user_db_page *page;
Simple merge
Simple merge
@@@ -349,9 -345,11 +349,11 @@@ static inline enum comp_state do_read(s
  
        ret = copy_data(qp->pd, IB_ACCESS_LOCAL_WRITE,
                        &wqe->dma, payload_addr(pkt),
 -                      payload_size(pkt), to_mr_obj, NULL);
 +                      payload_size(pkt), RXE_TO_MR_OBJ, NULL);
-       if (ret)
+       if (ret) {
+               wqe->status = IB_WC_LOC_PROT_ERR;
                return COMPST_ERROR;
+       }
  
        if (wqe->dma.resid == 0 && (pkt->mask & RXE_END_MASK))
                return COMPST_COMP_ACK;
@@@ -369,11 -367,13 +371,13 @@@ static inline enum comp_state do_atomic
  
        ret = copy_data(qp->pd, IB_ACCESS_LOCAL_WRITE,
                        &wqe->dma, &atomic_orig,
 -                      sizeof(u64), to_mr_obj, NULL);
 +                      sizeof(u64), RXE_TO_MR_OBJ, NULL);
-       if (ret)
+       if (ret) {
+               wqe->status = IB_WC_LOC_PROT_ERR;
                return COMPST_ERROR;
-       else
-               return COMPST_COMP_ACK;
+       }
+       return COMPST_COMP_ACK;
  }
  
  static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe,
Simple merge
Simple merge