[GIT PULL] Please pull RDMA subsystem changes

From: Jason Gunthorpe
Date: Fri Jan 15 2021 - 14:22:24 EST


Hi Linus,

Bit later for the first rc pull request than normal due to the
holidays, but a fairly modest set of bug fixes, nothing abnormal from
the merge window

The ucma patch is a bit on the larger side, but given the regression was
recently added I've opted to forward it to the rc stream.

Thanks,
Jason

The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62:

Linux 5.11-rc2 (2021-01-03 15:55:30 -0800)

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 7c7b3e5d9aeed31d35c5dab0bf9c0fd4c8923206:

RDMA/cma: Fix error flow in default_roce_mode_store (2021-01-14 12:53:13 -0400)

----------------------------------------------------------------
RDMA 5.11 first RC pull request

Several bug fixes.

- Fix a ucma memory leak introduced in v5.9 while fixing the Syzkaller
bugs

- Don't fail when the xarray wraps for user verbs objects

- User triggerable oops regression from the umem page size rework

- Error unwind bugs in usnic, ocrdma, mlx5 and cma

----------------------------------------------------------------
Aharon Landau (1):
RDMA/umem: Avoid undefined behavior of rounddown_pow_of_two()

Dinghao Liu (1):
RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp

Jason Gunthorpe (1):
RDMA/ucma: Do not miss ctx destruction steps in some cases

Leon Romanovsky (1):
RDMA/restrack: Don't treat as an error allocation ID wrapping

Mark Bloch (1):
RDMA/mlx5: Fix wrong free of blue flame register on error

Neta Ostrovsky (1):
RDMA/cma: Fix error flow in default_roce_mode_store

Parav Pandit (1):
IB/mlx5: Fix error unwinding when set_has_smi_cap fails

Tom Rix (1):
RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd()

drivers/infiniband/core/cma_configfs.c | 4 +-
drivers/infiniband/core/restrack.c | 1 +
drivers/infiniband/core/ucma.c | 135 ++++++++++++++-------------
drivers/infiniband/core/umem.c | 2 +-
drivers/infiniband/hw/mlx5/main.c | 4 +-
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 2 +-
drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 3 +
7 files changed, 83 insertions(+), 68 deletions(-)

Attachment: signature.asc
Description: PGP signature