Skip to content

RDMA fixes for v4.16

Leon Romanovsky linux-rdma 1 version Applied

Status from this message: I applied all of these to for-rc, with some modifications to the

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 19 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/15IB/ipoib: Do not warn if IPoIB debugfs doesn't existdrivers/infiniband/ulp/ipoib/ipoib_fs.c+0 -23 replies
2/15RDMA/restrack: Remove unimplemented XRCD objectdrivers/infiniband/core/restrack.c include/rdma/restrack.h+0 -93 replies
3/15IB/uverbs: Always the attribute size provided by the userdrivers/infiniband/core/uverbs_std_types.c include/rdma/uverbs_ioctl.h+31 -90 replies
4/15IB/uverbs: Use inline data transfer for UHW_INdrivers/infiniband/core/uverbs_std_types.c+4 -10 replies
5/15IB/uverbs: Use u64_to_user_ptr() not a uniondrivers/infiniband/core/uverbs_std_types.c include/rdma/uverbs_ioctl.h+6 -81 reply
6/15IB/uverbs: Fix method merging in uverbs_ioctl_mergedrivers/infiniband/core/uverbs_ioctl_merge.c+9 -90 replies
7/15IB/uverbs: Use __aligned_u64 for uapi headersinclude/uapi/rdma/rdma_user_ioctl.h+2 -21 reply
8/15IB/uverbs: Add ioctl support for 32bit processesdrivers/infiniband/core/uverbs_main.c+2 -03 replies
9/15IB/uverbs: Fix possible oops with duplicate ioctl attributesdrivers/infiniband/core/uverbs_ioctl.c+3 -00 replies
10/15IB/uverbs: Hold the uobj write lock after allocatedrivers/infiniband/core/rdma_core.c+10 -10 replies
11/15RDMA/uverbs: Protect from races between lookup and destroy of uobjectsdrivers/infiniband/core/rdma_core.c+9 -10 replies
12/15IB/uverbs: Tidy lockdep_checkdrivers/infiniband/core/rdma_core.c+7 -72 replies
13/15IB/uverbs: Tidy uverbs_uobject_adddrivers/infiniband/core/rdma_core.c+4 -93 replies
14/15IB/uverbs: Fix unbalanced unlock on error path for rdma_explicit_destroydrivers/infiniband/core/rdma_core.c+3 -21 reply
15/15RDMA/uverbs: Protect from command mask overflowdrivers/infiniband/core/uverbs_main.c+20 -70 replies

Reviews trailers per patch

6 of 15 patches have a Reviewed-by or Acked-by.

PatchMatan BarakDennis Dalessandro
1/15R-b
2/15
3/15
4/15
5/15R-b
6/15
7/15R-b
8/15
9/15
10/15
11/15
12/15
13/15R-b
14/15R-b
15/15R-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 00/15] RDMA fixes for v4.16

Hi,

This is mostly fixes for uverbs layers with two extra patches: one from Alaa, who removed annoying warning prints in IPoIB and another from Leon who removed unimplented part of restrack code.

Thanks

Alaa Hleihel (1):
IB/ipoib: Do not warn if IPoIB debugfs doesn't exist

Jason Gunthorpe (7):
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: Tidy lockdep_check
IB/uverbs: Tidy uverbs_uobject_add IB/uverbs: Fix unbalanced unlock on error path for
rdma_explicit_destroy

Leon Romanovsky (3):
RDMA/restrack: Remove unimplemented XRCD object RDMA/uverbs: Protect from races between lookup and destroy of uobjects RDMA/uverbs: Protect from command mask overflow

Matan Barak (4):
IB/uverbs: Always 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

 drivers/infiniband/core/rdma_core.c          | 51 +++++++++++++++++-----------
 drivers/infiniband/core/restrack.c           |  5 ---
 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/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 +--
 10 files changed, 107 insertions(+), 64 deletions(-)

--
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html