Skip to content

Fixes for v5.3

Leon Romanovsky linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8IB/core: Fix NULL pointer dereference when bind QP to counterdrivers/infiniband/core/counters.c+1 -10 replies
2/8RDMA/counters: Properly implement PID checksdrivers/infiniband/core/counters.c+3 -50 replies
3/8RDMA/restrack: Rewrite PID namespace check to be reliabledrivers/infiniband/core/nldev.c drivers/infiniband/core/restrack.c include/rdma/restrack.h+9 -120 replies
4/8RDMA/mlx5: Fix MR npages calculation for IB_ACCESS_HUGETLBdrivers/infiniband/core/umem.c drivers/infiniband/hw/mlx5/mem.c+4 -80 replies
5/8IB/mlx5: Consolidate use_umr checks into single functiondrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c+15 -30 replies
6/8IB/mlx5: Report and handle ODP support properlydrivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/odp.c+12 -110 replies
7/8IB/mlx5: Fix MR re-registration flow to use UMR properlydrivers/infiniband/hw/mlx5/mr.c+2 -10 replies
8/8IB/mlx5: Block MR WR if UMR is not possibledrivers/infiniband/hw/mlx5/qp.c+19 -50 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchMark ZhangGuy Levi
1/8
2/8R-b
3/8R-b
4/8
5/8
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH rdma-rc 0/8] Fixes for v5.3

From: Leon Romanovsky <[email protected]>

Hi,

This is a collection of new fixes for v5.3, everything here is fixing kernel crash or visible bug with one exception: patch #5 "IB/mlx5:
Consolidate use_umr checks into single function". That patch is nice to have improvement to implement rest of the series.

Thanks

Ido Kalir (1):
IB/core: Fix NULL pointer dereference when bind QP to counter

Jason Gunthorpe (1):
RDMA/mlx5: Fix MR npages calculation for IB_ACCESS_HUGETLB

Leon Romanovsky (2):
RDMA/counters: Properly implement PID checks RDMA/restrack: Rewrite PID namespace check to be reliable

Moni Shoua (4):
IB/mlx5: Consolidate use_umr checks into single function IB/mlx5: Report and handle ODP support properly IB/mlx5: Fix MR re-registration flow to use UMR properly IB/mlx5: Block MR WR if UMR is not possible

 drivers/infiniband/core/counters.c   | 10 ++++------
 drivers/infiniband/core/nldev.c      |  3 +--
 drivers/infiniband/core/restrack.c   | 15 +++++++--------
 drivers/infiniband/core/umem.c       |  7 +------
 drivers/infiniband/hw/mlx5/main.c    |  6 +++---
 drivers/infiniband/hw/mlx5/mem.c     |  5 +++--
 drivers/infiniband/hw/mlx5/mlx5_ib.h | 14 ++++++++++++++
 drivers/infiniband/hw/mlx5/mr.c      |  7 +++----
 drivers/infiniband/hw/mlx5/odp.c     | 17 +++++++++--------
 drivers/infiniband/hw/mlx5/qp.c      | 24 +++++++++++++++++++-----
 include/rdma/restrack.h              |  3 +--
 11 files changed, 65 insertions(+), 46 deletions(-)

--
2.20.1