Skip to content

IB/hfi1, IB/rdmavt, IB/qib: Important bug fixes for 4.6 RC

Dennis Dalessandro linux-rdma 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12IB/rdmavt: Fix adaptive pio hanginclude/rdma/rdmavt_qp.h+3 -20 replies
2/12IB/hfi1: Prevent NULL pointer deferences in caching codedrivers/staging/rdma/hfi1/mmu_rb.c drivers/staging/rdma/hfi1/mmu_rb.h drivers/staging/rdma/hfi1/user_exp_rcv.c +1 more+37 -230 replies
3/12IB/hfi1: Fix deadlock caused by locking with wrong scopedrivers/staging/rdma/hfi1/mmu_rb.c+11 -50 replies
4/12IB/qib, IB/hfi1: Fix up UD loopback use of irq flagsdrivers/infiniband/hw/qib/qib_rc.c drivers/infiniband/hw/qib/qib_ruc.c drivers/infiniband/hw/qib/qib_uc.c +5 more+28 -250 replies
5/12IB/hfi1: Prevent unpinning of wrong pagesdrivers/staging/rdma/hfi1/user_sdma.c+8 -50 replies
6/12IB/hfi1: Don't remove list entries if they are not in a listdrivers/staging/rdma/hfi1/user_sdma.c+4 -20 replies
7/12IB/hfi1: Fix memory leak in user ExpRcv and SDMAdrivers/staging/rdma/hfi1/user_exp_rcv.c drivers/staging/rdma/hfi1/user_sdma.c+7 -30 replies
8/12IB/hfi1: Protect the interval RB tree when cleaning updrivers/staging/rdma/hfi1/mmu_rb.c+6 -20 replies
9/12IB/hfi1: Correctly compute node intervaldrivers/staging/rdma/hfi1/mmu_rb.c drivers/staging/rdma/hfi1/user_sdma.c+2 -20 replies
10/12IB/hfi1: Extract and reinsert MMU RB node on lookupdrivers/staging/rdma/hfi1/mmu_rb.c drivers/staging/rdma/hfi1/mmu_rb.h drivers/staging/rdma/hfi1/user_sdma.c+35 -190 replies
11/12IB/hfi1: Fix buffer cache races which may cause corruptiondrivers/staging/rdma/hfi1/mmu_rb.c drivers/staging/rdma/hfi1/user_sdma.c+45 -170 replies
12/12IB/rdmavt: Fix send schedulingdrivers/infiniband/sw/rdmavt/qp.c+2 -20 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchDennis DalessandroDean LuickMike Marciniszyn
1/12R-b
2/12R-b R-b
3/12R-b R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/12] IB/hfi1, IB/rdmavt, IB/qib: Important bug fixes for 4.6 RC

These patches fix bugs in the hfi1, qib, and rdmavt drivers that should go into the next 4.6 RC. These are fixes for deadlocks, hangs, and memory leaks, as well as a data corruption. I think this should meet the criteria for RC. More patches will follow but those will be more appropriate for the next merge window.

There is also a serious performance regression fix here due to some inverted logic when porting post_send routines from hfi1/qib to rdmavt.

This applies on 2fe785717 in Doug's k.o/for-4.6-rc branch.

Patches can be viewed in my GitHub repo at:
https://github.com/ddalessa/kernel/tree/for-4.6.

---

Jubin John (1):
IB/rdmavt: Fix send scheduling

Mike Marciniszyn (2):
IB/rdmavt: Fix adaptive pio hang
IB/qib, IB/hfi1: Fix up UD loopback use of irq flags

Mitko Haralanov (9):
IB/hfi1: Prevent NULL pointer deferences in caching code IB/hfi1: Fix deadlock caused by locking with wrong scope IB/hfi1: Prevent unpinning of wrong pages IB/hfi1: Don't remove list entries if they are not in a list IB/hfi1: Fix memory leak in user ExpRcv and SDMA IB/hfi1: Protect the interval RB tree when cleaning up IB/hfi1: Correctly compute node interval
IB/hfi1: Extract and reinsert MMU RB node on lookup IB/hfi1: Fix buffer cache races which may cause corruption

 drivers/infiniband/hw/qib/qib_rc.c       |    2 
 drivers/infiniband/hw/qib/qib_ruc.c      |    4 -
 drivers/infiniband/hw/qib/qib_uc.c       |    2 
 drivers/infiniband/hw/qib/qib_ud.c       |   10 +-
 drivers/infiniband/hw/qib/qib_verbs.h    |    6 +
 drivers/infiniband/sw/rdmavt/qp.c        |    4 -
 drivers/staging/rdma/hfi1/mmu_rb.c       |   69 ++++++++++++-----
 drivers/staging/rdma/hfi1/mmu_rb.h       |    5 +
 drivers/staging/rdma/hfi1/ruc.c          |   20 +++--
 drivers/staging/rdma/hfi1/ud.c           |    8 +-
 drivers/staging/rdma/hfi1/user_exp_rcv.c |   16 ++--
 drivers/staging/rdma/hfi1/user_sdma.c    |  123 ++++++++++++++++++++----------
 drivers/staging/rdma/hfi1/verbs.h        |    1 
 include/rdma/rdmavt_qp.h                 |    5 +
 14 files changed, 178 insertions(+), 97 deletions(-)
Signature · 5 lines
-Denny
--
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