[GIT PULL] Please pull RDMA subsystem changes

From: Jason Gunthorpe
Date: Fri Jul 31 2020 - 11:17:13 EST


Hi Linus,

Still a few regressions from the merge window and the usual collection of
fixes.

The following changes since commit 92ed301919932f777713b9172e525674157e983d:

Linux 5.8-rc7 (2020-07-26 14:14:06 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus

for you to fetch changes up to fb448ce87a4a9482b084e67faf804aec79ed9b43:

RDMA/core: Free DIM memory in error unwind (2020-07-30 11:03:33 -0300)

----------------------------------------------------------------
RDMA fourth 5.8 rc pull request

Two more merge window regressions, a corruption bug in hfi1 and a few
other small fixes.

- Missing user input validation regression in ucma

- Disallowing a previously allowed user combination regression in mlx5

- ODP prefetch memory leaking triggerable by userspace

- Memory corruption in hf1 due to faulty ring buffer logic

- Missed mutex initialization crash in mlx5

- Two small defects with RDMA DIM

----------------------------------------------------------------
Jason Gunthorpe (2):
RDMA/cm: Add min length checks to user structure copies
RDMA/mlx5: Fix prefetch memory leak if get_prefetchable_mr fails

Leon Romanovsky (4):
RDMA/mlx5: Allow providing extra scatter CQE QP flag
RDMA/mlx5: Initialize QP mutex for the debug kernels
RDMA/core: Stop DIM before destroying CQ
RDMA/core: Free DIM memory in error unwind

Mike Marciniszyn (1):
IB/rdmavt: Fix RQ counting issues causing use of an invalid RWQE

drivers/infiniband/core/cq.c | 14 +++++++++++---
drivers/infiniband/core/ucma.c | 4 ++++
drivers/infiniband/hw/mlx5/odp.c | 5 ++---
drivers/infiniband/hw/mlx5/qp.c | 29 ++++++++++++++++-------------
drivers/infiniband/sw/rdmavt/qp.c | 33 ++++-----------------------------
drivers/infiniband/sw/rdmavt/rc.c | 4 +---
include/rdma/rdmavt_qp.h | 19 +++++++++++++++++++
7 files changed, 57 insertions(+), 51 deletions(-)

Attachment: signature.asc
Description: PGP signature