Skip to content

IB/hfi1,core: Driver updates for 4.17

Dennis Dalessandro linux-rdma stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 13 patches 8 repliesIn review

6 of 13 patches are in this archive. The cover letter announces 13.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
4/13IB/hfi1: Fix handling of FECN marked multicast packetdrivers/infiniband/hw/hfi1/driver.c drivers/infiniband/hw/hfi1/hfi.h drivers/infiniband/hw/hfi1/ud.c+22 -110 replies
7/13IB/hfi1: Fix fault injection init/exit issuesdrivers/infiniband/hw/hfi1/debugfs.c+6 -20 replies
8/13IB/hfi1: Use after free race condition in send context error pathdrivers/infiniband/hw/hfi1/chip.c+4 -00 replies
11/13IB/hfi1: Reorder incorrect send context disabledrivers/infiniband/hw/hfi1/file_ops.c drivers/infiniband/hw/hfi1/pio.c+35 -110 replies
12/13IB/{hfi1, qib}: Add handling of kernel restartdrivers/infiniband/hw/hfi1/hfi.h drivers/infiniband/hw/hfi1/init.c drivers/infiniband/hw/qib/qib.h +1 more+12 -02 replies
13/13IB/hfi1: Fix loss of BECN with AHGdrivers/infiniband/hw/hfi1/ruc.c+40 -100 replies

Reviews trailers per patch

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

PatchDon HiattMichael J. RuhlMike MarciniszynDennis DalessandroMitko Haralanov
4/13R-b R-b
7/13R-b
8/13R-b R-b
11/13R-b R-b
12/13R-b
13/13R-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 5 reviewers.

Read the v1 thread

Cover letter [PATCH for-next 00/13] IB/hfi1,core: Driver updates for 4.17

Hi Jason and Doug,

Here are most of our updates for 4.17. I will follow this up with a small 16B series then I still have a few more patches that are waiting on some more thorough testing. Should be able to get them on the list tomrrow or Friday at the latest, wanted to get these out now. I don't think anything is really that scary in here.

These are mostly driver fixes. Patches 4,7,8,11, and 14 are marked stable. They didn't get sent for the -rc because they fix really old issues.

Patch 5 is a core fix. I should have sent it a bit sooner, sorry about that but it's pretty trivial so I decided to include it as well rather than wait for 4.18.

---

Alex Estrin (2):
IB/hfi1: Complete check for locally terminated smp IB/{hfi1,qib}: Add handling of kernel restart

Ashutosh Dixit (1):
IB/core: Fix rkey invalidation from user space into the kernel

Michael J. Ruhl (5):
IB/hfi1: Return actual error value from program_rcvarray() IB/hfi1: Use after free race condition in send context error path IB/hfi1 Use correct type for num_user_context
IB/hfi1: Return correct value for device state IB/hfi1: Reorder incorrect send context disable

Mike Marciniszyn (3):
IB/hfi1: Fix handling of FECN marked multicast packet IB/hfi1: Fix fault injection init/exit issues IB/hfi1: Fix loss of BECN with AHG

Sebastian Sanchez (2):
IB/hfi1: Prevent LNI hang when LCB can't obtain lanes IB/{hfi1,rdmavt,qib}: Fit kernel completions into single aligned cache-line

 drivers/infiniband/core/uverbs_cmd.c        |    4 +
 drivers/infiniband/hw/hfi1/chip.c           |   59 ++++++++---
 drivers/infiniband/hw/hfi1/chip.h           |   15 ++-
 drivers/infiniband/hw/hfi1/chip_registers.h |    7 +
 drivers/infiniband/hw/hfi1/debugfs.c        |    8 +
 drivers/infiniband/hw/hfi1/driver.c         |   19 +++-
 drivers/infiniband/hw/hfi1/file_ops.c       |    2 
 drivers/infiniband/hw/hfi1/hfi.h            |    9 +-
 drivers/infiniband/hw/hfi1/init.c           |    9 +-
 drivers/infiniband/hw/hfi1/mad.c            |   36 ++++---
 drivers/infiniband/hw/hfi1/pio.c            |   44 ++++++--
 drivers/infiniband/hw/hfi1/rc.c             |    2 
 drivers/infiniband/hw/hfi1/ruc.c            |   54 ++++++++--
 drivers/infiniband/hw/hfi1/uc.c             |    2 
 drivers/infiniband/hw/hfi1/ud.c             |   10 +-
 drivers/infiniband/hw/hfi1/user_exp_rcv.c   |    1 
 drivers/infiniband/hw/qib/qib.h             |    1 
 drivers/infiniband/hw/qib/qib_init.c        |    5 +
 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          |    4 -
 drivers/infiniband/sw/rdmavt/cq.c           |  146 ++++++++++++++++++---------
 drivers/infiniband/sw/rdmavt/qp.c           |    4 -
 drivers/infiniband/sw/rdmavt/trace_cq.h     |    6 +
 include/rdma/ib_verbs.h                     |    5 +
 include/rdma/rdmavt_cq.h                    |   35 +++++-
 include/rdma/rdmavt_qp.h                    |    2 
 28 files changed, 344 insertions(+), 153 deletions(-)