Skip to content

IB/hfi1: patches for next 07/24/2017

Dennis Dalessandro linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13IB/hfi1: Fix bar0 mapping to use write combiningdrivers/infiniband/hw/hfi1/chip.c drivers/infiniband/hw/hfi1/chip.h drivers/infiniband/hw/hfi1/driver.c +5 more+126 -490 replies
2/13IB/hfi1: Serve the most starved iowait entry firstdrivers/infiniband/hw/hfi1/iowait.h drivers/infiniband/hw/hfi1/pio.c drivers/infiniband/hw/hfi1/qp.c +8 more+136 -280 replies
3/13IB/hfi1: Assign context does not clean up file descriptor correctly on errordrivers/infiniband/hw/hfi1/file_ops.c+26 -110 replies
4/13IB/hfi1: Remove unused user context data membersdrivers/infiniband/hw/hfi1/file_ops.c drivers/infiniband/hw/hfi1/hfi.h drivers/infiniband/hw/hfi1/user_sdma.c +1 more+0 -420 replies
5/13IB/hfi1: Size rcd array index correctly and consistentlydrivers/infiniband/hw/hfi1/aspm.h drivers/infiniband/hw/hfi1/chip.c drivers/infiniband/hw/hfi1/chip.h +7 more+33 -310 replies
6/13IB/hfi1: Use context pointer rather than context indexdrivers/infiniband/hw/hfi1/chip.c drivers/infiniband/hw/hfi1/chip.h drivers/infiniband/hw/hfi1/file_ops.c+45 -590 replies
7/13IB/hfi1: Pass the context pointer rather than the indexdrivers/infiniband/hw/hfi1/chip.c drivers/infiniband/hw/hfi1/chip.h drivers/infiniband/hw/hfi1/file_ops.c +3 more+25 -230 replies
8/13IB/hfi1: Send MAD traps until represseddrivers/infiniband/hw/hfi1/mad.c drivers/infiniband/hw/hfi1/mad.h drivers/infiniband/hw/hfi1/verbs.c +1 more+310 -880 replies
9/13IB/hfi1: Fix code consistency for if/else blocks in chip.cdrivers/infiniband/hw/hfi1/chip.c+11 -100 replies
10/13IB/hfi1: Fix initialization failure for debug firmwaredrivers/infiniband/hw/hfi1/firmware.c+8 -00 replies
11/13IB/hfi1: Move saving PCI values to a separate functiondrivers/infiniband/hw/hfi1/chip.c drivers/infiniband/hw/hfi1/hfi.h drivers/infiniband/hw/hfi1/pcie.c+64 -520 replies
12/13IB/hfi1: Verify port data VLs credits on transition to Armeddrivers/infiniband/hw/hfi1/chip.c drivers/infiniband/hw/hfi1/intr.c+16 -10 replies
13/13IB/hfi1: Split copy_to_user data copy for better securitydrivers/infiniband/hw/hfi1/file_ops.c+5 -30 replies

Reviews trailers per patch

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

PatchMitko HaralanovAshutosh DixitMike MarciniszynIra WeinyDennis DalessandroSebastian SanchezMichael N. HenryJakub ByczkowskiEaswar Hariharan
1/13R-b R-b
2/13R-b
3/13R-b
4/13R-b R-b R-b
5/13R-b
6/13R-b
7/13R-b R-b
8/13R-b R-b
9/13R-b
10/13R-b R-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 9 reviewers.

Read the v1 thread

Cover letter [PATCH for-next 00/13] IB/hfi1: patches for next 07/24/2017

Hi Doug,

Here is a set of patches for 4.14. These apply on top of the others I have sent previously. This fixes some performance centric bugs like using write combining for bar0 mapping and a fix for not starving an iowait list. There are also a few patches related to improving the code involving user contexts. A bug to fix sending MAD traps until repressed is also included as well as some general code cleanups.

Patches can can also be found in my GitHub repo at:
https://github.com/ddalessa/kernel/tree/for-4.14

---

Alex Estrin (1):
IB/hfi1: Verify port data VLs credits on transition to Armed

Bartlomiej Dudek (1):
IB/hfi1: Move saving PCI values to a separate function

Byczkowski, Jakub (1):
IB/hfi1: Fix initialization failure for debug firmware

Jan Sokolowski (1):
IB/hfi1: Fix code consistency for if/else blocks in chip.c

Kaike Wan (1):
IB/hfi1: Serve the most starved iowait entry first

Michael J. Ruhl (7):
IB/hfi1: Assign context does not clean up file descriptor correctly on error IB/hfi1: Remove unused user context data members
IB/hfi1: Size rcd array index correctly and consistently IB/hfi1: Use context pointer rather than context index
IB/hfi1: Pass the context pointer rather than the index IB/hfi1: Send MAD traps until repressed
IB/hfi1: Split copy_to_user data copy for better security

Mike Marciniszyn (1):
IB/hfi1: Fix bar0 mapping to use write combining

 drivers/infiniband/hw/hfi1/aspm.h         |    6 
 drivers/infiniband/hw/hfi1/chip.c         |  227 +++++++++++-------
 drivers/infiniband/hw/hfi1/chip.h         |   15 +
 drivers/infiniband/hw/hfi1/driver.c       |   19 +
 drivers/infiniband/hw/hfi1/exp_rcv.h      |    5 
 drivers/infiniband/hw/hfi1/file_ops.c     |   76 +++---
 drivers/infiniband/hw/hfi1/firmware.c     |    8 +
 drivers/infiniband/hw/hfi1/hfi.h          |   49 +---
 drivers/infiniband/hw/hfi1/init.c         |   23 +-
 drivers/infiniband/hw/hfi1/intr.c         |    3 
 drivers/infiniband/hw/hfi1/iowait.h       |   70 +++++
 drivers/infiniband/hw/hfi1/mad.c          |  373 ++++++++++++++++++++++-------
 drivers/infiniband/hw/hfi1/mad.h          |    3 
 drivers/infiniband/hw/hfi1/pcie.c         |  164 ++++++++-----
 drivers/infiniband/hw/hfi1/pio.c          |   13 +
 drivers/infiniband/hw/hfi1/qp.c           |    9 -
 drivers/infiniband/hw/hfi1/ruc.c          |    5 
 drivers/infiniband/hw/hfi1/sdma.c         |   34 ++-
 drivers/infiniband/hw/hfi1/sdma.h         |    3 
 drivers/infiniband/hw/hfi1/trace_rx.h     |    2 
 drivers/infiniband/hw/hfi1/user_exp_rcv.c |    3 
 drivers/infiniband/hw/hfi1/user_sdma.c    |   19 -
 drivers/infiniband/hw/hfi1/user_sdma.h    |    3 
 drivers/infiniband/hw/hfi1/verbs.c        |   11 +
 drivers/infiniband/hw/hfi1/verbs.h        |    1 
 drivers/infiniband/hw/hfi1/vnic.h         |    1 
 drivers/infiniband/hw/hfi1/vnic_main.c    |    6 
 drivers/infiniband/hw/hfi1/vnic_sdma.c    |   14 +
 include/rdma/rdma_vt.h                    |   17 +
 29 files changed, 795 insertions(+), 387 deletions(-)

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