Hi Linus, This is our first rc cycle pull request. Nothing in this is overly interesting. It's mostly your garden variety fixes. There was some work in this merge cycle around the new ioctl kABI, so there are fixes in here related to that (probably with more to come). We've also recently added new netlink support with a goal of moving the primary means of configuring the entire subsystem to netlink (eventually, this is a long term project), so there are fixes for that. Then a few bnxt_re driver fixes, and a few minor WARN_ON removals, and that covers this pull request. There are already a few more fixes on the list as of this morning, so there will certainly be more to come in this rc cycle ;-) Here's the boilerplate: The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -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 7374fbd9e167ddc4f380d056ca74518be5d45518: RDMA/bnxt_re: Avoid system hang during device un-reg (2018-02-20 11:59:47 -0500) ---------------------------------------------------------------- First pull request for the 4.16 rc cycle - Lots of fixes for the new IOCTL interface and general uverbs flow. Found through testing and syzkaller - Bugfixes for the new resource track netlink reporting - Remove some unneeded WARN_ONs that were triggering for some users in IPoIB - Various fixes for the bnxt_re driver ---------------------------------------------------------------- Adit Ranadive (1): RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file Alaa Hleihel (1): IB/ipoib: Do not warn if IPoIB debugfs doesn't exist Devesh Sharma (2): RDMA/bnxt_re: Disable atomic capability on bnxt_re adapters RDMA/bnxt_re: Unpin SQ and RQ memory if QP create fails Jason Gunthorpe (6): IB/uverbs: Use inline data transfer for UHW_IN IB/uverbs: Use u64_to_user_ptr() not a union IB/uverbs: Use __aligned_u64 for uapi headers IB/uverbs: Hold the uobj write lock after allocate IB/uverbs: Improve lockdep_check IB/uverbs: Fix unbalanced unlock on error path for rdma_explicit_destroy Leon Romanovsky (8): RDMA/restrack: Remove unimplemented XRCD object RDMA/uverbs: Protect from races between lookup and destroy of uobjects RDMA/uverbs: Protect from command mask overflow RDMA/restrack: Increment CQ restrack object before committing RDMA/uverbs: Fix bad unlock balance in ib_uverbs_close_xrcd RDMA/uverbs: Fix circular locking dependency RDMA/uverbs: Sanitize user entered port numbers prior to access it RDMA/verbs: Check existence of function prior to accessing it Matan Barak (4): IB/uverbs: Always use the attribute size provided by the user IB/uverbs: Fix method merging in uverbs_ioctl_merge IB/uverbs: Add ioctl support for 32bit processes IB/uverbs: Fix possible oops with duplicate ioctl attributes Selvin Xavier (3): RDMA/bnxt_re: Synchronize destroy_qp with poll_cq RDMA/bnxt_re: Fix system crash during load/unload RDMA/bnxt_re: Avoid system hang during device un-reg Steve Wise (1): RDMA/restrack: don't use uaccess_kernel() drivers/infiniband/core/core_priv.h | 7 +++- drivers/infiniband/core/rdma_core.c | 38 ++++++++++++----- drivers/infiniband/core/restrack.c | 23 +++++++---- drivers/infiniband/core/uverbs_cmd.c | 47 ++++++++++++++++----- drivers/infiniband/core/uverbs_ioctl.c | 3 ++ drivers/infiniband/core/uverbs_ioctl_merge.c | 18 ++++----- drivers/infiniband/core/uverbs_main.c | 29 +++++++++---- drivers/infiniband/core/uverbs_std_types.c | 12 ++++-- drivers/infiniband/core/verbs.c | 3 +- drivers/infiniband/hw/bnxt_re/bnxt_re.h | 2 +- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 54 +++++++++++++++++++++---- drivers/infiniband/hw/bnxt_re/ib_verbs.h | 2 + drivers/infiniband/hw/bnxt_re/main.c | 12 ++++-- drivers/infiniband/hw/bnxt_re/qplib_fp.c | 21 +++------- drivers/infiniband/hw/bnxt_re/qplib_fp.h | 4 +- drivers/infiniband/hw/bnxt_re/qplib_sp.c | 14 +------ drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c | 4 +- drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c | 4 +- drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c | 4 +- drivers/infiniband/ulp/ipoib/ipoib_fs.c | 2 - include/rdma/restrack.h | 4 -- include/rdma/uverbs_ioctl.h | 43 ++++++++++++++------ include/uapi/rdma/rdma_user_ioctl.h | 4 +- 23 files changed, 239 insertions(+), 115 deletions(-) -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part