Add OPA gen1 driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest50 patches 40 repliesIn review
- v349 patches 5 repliesSuperseded
- v249 patches 14 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 38 of 41 patches | 23 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/50 | IB: Add CNP opcode enumeration.include/ | +1 | 7 replies | |
| 2/50 | IB/core: Add header definitionsdrivers/ include/ include/ +2 more | +1053 | 0 replies | |
| 3/50 | IB/hfi1: add chip specific support part1drivers/ | +2143 | 0 replies | |
| 4/50 | IB/hfi1: add chip specific support part2drivers/ | +2899 | 0 replies | |
| 5/50 | IB/hfi1: add chip specific support part3drivers/ | +2985 | 0 replies | |
| 6/50 | IB/hfi1: add chip specific support part4drivers/ | +2774 | 0 replies | |
| 7/50 | IB/hfi1: add chip register definitionsdrivers/ | +1289 | 0 replies | |
| 8/50 | IB/hfi1: add chip specific headersdrivers/ | +1035 | 0 replies | |
| 9/50 | IB/hfi1: add common header file definitionsdrivers/ | +415 | 0 replies | |
| 10/50 | IB/hfi1: add completion queue processingdrivers/ | +558 | 0 replies | |
| 11/50 | IB/hfi1: add debugfs handlingdrivers/ drivers/ | +977 | 0 replies | |
| 12/50 | IB/hfi1: add char device instantiation codedrivers/ drivers/ | +203 | 0 replies | |
| 13/50 | IB/hfi1: add diagnostic hooksdrivers/ | +1873 | 0 replies | |
| 14/50 | IB/hfi1: add dma operation hooksdrivers/ | +186 | 0 replies | |
| 15/50 | IB/hfi1: add low level receive functionsdrivers/ | +1241 | 0 replies | |
| 16/50 | IB/hfi1: add eeprom hooksdrivers/ drivers/ | +530 | 0 replies | |
| 17/50 | IB/hfi1: add PSM driver control/data pathdrivers/ | +2140 | 11 replies | |
| 18/50 | IB/hfi1: add firmware hooksdrivers/ | +1620 | 0 replies | |
| 19/50 | IB/hfi1: add general hfi header filedrivers/ | +1821 | 0 replies | |
| 20/50 | IB/hfi1: add module init hooksdrivers/ | +1722 | 0 replies | |
| 21/50 | IB/hfi1: add interrupt hooksdrivers/ | +207 | 0 replies | |
| 22/50 | IB/hfi1: add progress delay/restart hooksdrivers/ | +186 | 0 replies | |
| 23/50 | IB/hfi1: add rkey/lkey validationdrivers/ | +411 | 0 replies | |
| 24/50 | IB/hfi1: add OPA mad handling part1drivers/ | +2757 | 0 replies | |
| 25/50 | IB/hfi1: add OPA mad handling part2drivers/ | +1501 | 0 replies | |
| 26/50 | IB/hfi1: add local mad headerdrivers/ | +325 | 0 replies | |
| 27/50 | IB/hfi1: add user/kernel memory sharing hooksdrivers/ | +192 | 0 replies | |
| 28/50 | IB/hfi1: add memory region handlingdrivers/ | +546 | 0 replies | |
| 29/50 | IB/hfi1: add misc OPA definesdrivers/ | +129 | 0 replies | |
| 30/50 | IB/hfi1: add pcie routinesdrivers/ | +1253 | 0 replies | |
| 31/50 | IB/hfi1: add pio handlingdrivers/ drivers/ drivers/ | +2853 | 0 replies | |
| 32/50 | IB/hfi1: add platform config definitionsdrivers/ | +286 | 0 replies | |
| 33/50 | IB/hfi1: add qp handlingdrivers/ drivers/ | +1922 | 0 replies | |
| 34/50 | IB/hfi1: add qsfp handlingdrivers/ drivers/ | +768 | 0 replies | |
| 35/50 | IB/hfi1: add RC QP handlingdrivers/ | +2426 | 0 replies | |
| 36/50 | IB/hfi1: add common routines for RC/UCdrivers/ | +948 | 0 replies | |
| 37/50 | IB/hfi1: add sdma routinesdrivers/ | +2962 | 0 replies | |
| 38/50 | IB/hfi1: add sdma header filedrivers/ | +1123 | 0 replies | |
| 39/50 | IB/hfi1: add SRQ handlingdrivers/ | +397 | 0 replies | |
| 40/50 | IB/hfi1: add sysfs routines and documentationDocumentation/ drivers/ | +783 | 14 replies | |
| 41/50 | IB/hfi1: add tracepoint debug routinesdrivers/ drivers/ | +1632 | 0 replies | |
| 42/50 | IB/hfi1: add QSFP twsi routinesdrivers/ drivers/ | +586 | 0 replies | |
| 43/50 | IB/hfi1: add UC QP handlingdrivers/ | +585 | 0 replies | |
| 44/50 | IB/hfi1: add UD QP handlingdrivers/ | +885 | 0 replies | |
| 45/50 | IB/hfi1: add low level page lockingdrivers/ | +156 | 0 replies | |
| 46/50 | IB/hfi1: add PSM sdma hooksdrivers/ drivers/ | +1533 | 0 replies | |
| 47/50 | IB/hfi1: add general verbs handlingdrivers/ drivers/ | +3292 | 0 replies | |
| 48/50 | IB/hfi1: add multicast routinesdrivers/ drivers/ | +386 | 0 replies | |
| 49/50 | IB/hfi1: add driver make/config filesdrivers/ drivers/ | +56 | 0 replies | |
| 50/50 | IB/core: Add opa driver to kbuilddrivers/ drivers/ | +2 | 0 replies |
Reviews trailers per patch
2 of 50 patches have a Reviewed-by or Acked-by.
| Patch | Mike Marciniszyn | John, Jubin |
|---|---|---|
| 1/50 | R-b | |
| 2/50 | R-b | R-b |
| 3/50 | ||
| 4/50 | ||
| 5/50 | ||
| 6/50 | ||
| 7/50 | ||
| 8/50 | ||
| 9/50 | ||
| 10/50 | ||
| 11/50 | ||
| 12/50 | ||
| 13/50 | ||
| 14/50 | ||
| 15/50 | ||
| 16/50 | ||
| 17/50 | ||
| 18/50 | ||
| 19/50 | ||
| 20/50 | ||
| 21/50 | ||
| 22/50 | ||
| 23/50 | ||
| 24/50 | ||
| 25/50 | ||
| 26/50 | ||
| 27/50 | ||
| 28/50 | ||
| 29/50 | ||
| 30/50 | ||
| 31/50 | ||
| 32/50 | ||
| 33/50 | ||
| 34/50 | ||
| 35/50 | ||
| 36/50 | ||
| 37/50 | ||
| 38/50 | ||
| 39/50 | ||
| 40/50 | ||
| 41/50 | ||
| 42/50 | ||
| 43/50 | ||
| 44/50 | ||
| 45/50 | ||
| 46/50 | ||
| 47/50 | ||
| 48/50 | ||
| 49/50 | ||
| 50/50 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/50] Add OPA gen1 driver
The following patch series adds the OPA device driver.
Like qib the driver has 2 main interfaces, Verbs and a new PSM2 interface.
The PSM2 interface evolves PSM for OPA due to hardware specific changes.
As a verbs driver the device functions as an InfiniBand device and supports the standard features of the IBTA specification v1.3 with the exceptions noted below.
Addressing is accomplished via IBTA compatible headers which leaves Path Record resolution, rdmacm, and IB CM functionality intact.
Furthermore, the interaction between this driver and the ib_core, rdmacm, ib_cm, ib_sa, and ULP modules are handled completely via the existing verbs interfaces. This includes compliance with the IB SA queries (most importantly Path Records and Multicast Joins) and CM protocols which are documented in the IBTA spec.
The following exceptions to the IBTA specification exist:
Enhanced and additional SMA and PMA MADs are utilized for management. As previously discussed on the list and accepted by Doug; device support for these new MADs is reported through the new immutable data interface.
Larger MTU values can _optionally_ be passed through the verbs interface to indicate 8K and "10K" MTUs. This is opaque to users of Path Record queries. More importantly the _standard_ IBTA MTUs are fully supported.
A larger packet sequence number is used internally by the driver.
Additional QoS features, which are opaque to the user, are supported via additional SL to VL tables.
The public information can be reviewed at:
http://www.intel.com/content/www/us/en/omni-path/omni-path-fabric-overview.html
The patches are based on the the following repo/branch:
git://github.com/dledford/linux.git: to-be-rebased/for-4.3
The patches add the files and headers and the last patch adds the build hooks.
Differences from v3
- Get rid of BUG_ON() usage
- 125 internal fixes
- Removed some more unneeded sysfs files
- Add documentation on sysfs usage
- ported from qib
o commit d1adbfa5dd58642cde08f2f7773f37b6fafc7b64
o commit 83efc96cd2dbb42971831dda007b521cf6d92ac5
Differences from v2 to v3:
- Remove verbs sysfs counters since they can be metered via other mechanisms
- Move ib-ish defintions from mad.h to ib_mad.h since they are driver independent
- Modified create_cq to better implements the API changes
Differences from v1 to v2:
- larger files split are split up due to filesize issues
- 0 day build issues with cpumask usage
- 0 day RCU sparse issues
- Adjustments for create_cq() and query_device() to compile
---
Dennis Dalessandro (1):
IB: Add CNP opcode enumeration.
Ira Weiny (1):
IB/core: Add header definitions
Jubin John (1):
IB/core: Add opa driver to kbuild
Mike Marciniszyn (47):
IB/hfi1: add chip specific support part1 IB/hfi1: add chip specific support part2 IB/hfi1: add chip specific support part3 IB/hfi1: add chip specific support part4 IB/hfi1: add chip register definitions IB/hfi1: add chip specific headers IB/hfi1: add common header file definitions IB/hfi1: add completion queue processing IB/hfi1: add debugfs handling IB/hfi1: add char device instantiation code IB/hfi1: add diagnostic hooks IB/hfi1: add dma operation hooks IB/hfi1: add low level receive functions IB/hfi1: add eeprom hooks
IB/hfi1: add PSM driver control/data path IB/hfi1: add firmware hooks
IB/hfi1: add general hfi header file IB/hfi1: add module init hooks IB/hfi1: add interrupt hooks
IB/hfi1: add progress delay/restart hooks IB/hfi1: add rkey/lkey validation IB/hfi1: add OPA mad handling part1 IB/hfi1: add OPA mad handling part2 IB/hfi1: add local mad header IB/hfi1: add user/kernel memory sharing hooks IB/hfi1: add memory region handling IB/hfi1: add misc OPA defines IB/hfi1: add pcie routines
IB/hfi1: add pio handling
IB/hfi1: add platform config definitions IB/hfi1: add qp handling
IB/hfi1: add qsfp handling
IB/hfi1: add RC QP handling
IB/hfi1: add common routines for RC/UC IB/hfi1: add sdma routines
IB/hfi1: add sdma header file IB/hfi1: add SRQ handling
IB/hfi1: add sysfs routines and documentation IB/hfi1: add tracepoint debug routines IB/hfi1: add QSFP twsi routines IB/hfi1: add UC QP handling
IB/hfi1: add UD QP handling
IB/hfi1: add low level page locking IB/hfi1: add PSM sdma hooks
IB/hfi1: add general verbs handling IB/hfi1: add multicast routines IB/hfi1: add driver make/config files
Documentation/infiniband/sysfs.txt | 22 drivers/infiniband/Kconfig | 1 drivers/infiniband/hw/Makefile | 1 drivers/infiniband/hw/hfi1/Kconfig | 37 drivers/infiniband/hw/hfi1/Makefile | 19 drivers/infiniband/hw/hfi1/chip.c |10798 ++++++++++++++++++++++++++ drivers/infiniband/hw/hfi1/chip.h | 1035 ++ drivers/infiniband/hw/hfi1/chip_registers.h | 1289 +++ drivers/infiniband/hw/hfi1/common.h | 415 + drivers/infiniband/hw/hfi1/cq.c | 558 + drivers/infiniband/hw/hfi1/debugfs.c | 899 ++ drivers/infiniband/hw/hfi1/debugfs.h | 78 drivers/infiniband/hw/hfi1/device.c | 142 drivers/infiniband/hw/hfi1/device.h | 61 drivers/infiniband/hw/hfi1/diag.c | 1873 +++++ drivers/infiniband/hw/hfi1/dma.c | 186 drivers/infiniband/hw/hfi1/driver.c | 1241 +++ drivers/infiniband/hw/hfi1/eprom.c | 475 + drivers/infiniband/hw/hfi1/eprom.h | 55 drivers/infiniband/hw/hfi1/file_ops.c | 2140 +++++ drivers/infiniband/hw/hfi1/firmware.c | 1620 ++++ drivers/infiniband/hw/hfi1/hfi.h | 1821 ++++ drivers/infiniband/hw/hfi1/init.c | 1722 ++++ drivers/infiniband/hw/hfi1/intr.c | 207 drivers/infiniband/hw/hfi1/iowait.h | 186 drivers/infiniband/hw/hfi1/keys.c | 411 + drivers/infiniband/hw/hfi1/mad.c | 4257 ++++++++++ drivers/infiniband/hw/hfi1/mad.h | 325 + drivers/infiniband/hw/hfi1/mmap.c | 192 drivers/infiniband/hw/hfi1/mr.c | 546 + drivers/infiniband/hw/hfi1/opa_compat.h | 129 drivers/infiniband/hw/hfi1/pcie.c | 1253 +++ drivers/infiniband/hw/hfi1/pio.c | 1771 ++++ drivers/infiniband/hw/hfi1/pio.h | 224 + drivers/infiniband/hw/hfi1/pio_copy.c | 858 ++ drivers/infiniband/hw/hfi1/platform_config.h | 286 + drivers/infiniband/hw/hfi1/qp.c | 1687 ++++ drivers/infiniband/hw/hfi1/qp.h | 235 + drivers/infiniband/hw/hfi1/qsfp.c | 546 + drivers/infiniband/hw/hfi1/qsfp.h | 222 + drivers/infiniband/hw/hfi1/rc.c | 2426 ++++++ drivers/infiniband/hw/hfi1/ruc.c | 948 ++ drivers/infiniband/hw/hfi1/sdma.c | 2962 +++++++ drivers/infiniband/hw/hfi1/sdma.h | 1123 +++ drivers/infiniband/hw/hfi1/srq.c | 397 + drivers/infiniband/hw/hfi1/sysfs.c | 761 ++ drivers/infiniband/hw/hfi1/trace.c | 211 + drivers/infiniband/hw/hfi1/trace.h | 1421 +++ drivers/infiniband/hw/hfi1/twsi.c | 518 + drivers/infiniband/hw/hfi1/twsi.h | 68 drivers/infiniband/hw/hfi1/uc.c | 585 + drivers/infiniband/hw/hfi1/ud.c | 885 ++ drivers/infiniband/hw/hfi1/user_pages.c | 156 drivers/infiniband/hw/hfi1/user_sdma.c | 1444 +++ drivers/infiniband/hw/hfi1/user_sdma.h | 89 drivers/infiniband/hw/hfi1/verbs.c | 2144 +++++ drivers/infiniband/hw/hfi1/verbs.h | 1149 +++ drivers/infiniband/hw/hfi1/verbs_mcast.c | 385 + drivers/infiniband/hw/qib/qib_mad.h | 147 include/rdma/ib_mad.h | 138 include/rdma/ib_pack.h | 1 include/rdma/opa_port_info.h | 433 + include/rdma/opa_smi.h | 47 include/uapi/rdma/hfi/hfi1_user.h | 427 + 64 files changed, 58549 insertions(+), 139 deletions(-) create mode 100644 drivers/infiniband/hw/hfi1/Kconfig create mode 100644 drivers/infiniband/hw/hfi1/Makefile create mode 100644 drivers/infiniband/hw/hfi1/chip.c create mode 100644 drivers/infiniband/hw/hfi1/chip.h create mode 100644 drivers/infiniband/hw/hfi1/chip_registers.h create mode 100644 drivers/infiniband/hw/hfi1/common.h create mode 100644 drivers/infiniband/hw/hfi1/cq.c create mode 100644 drivers/infiniband/hw/hfi1/debugfs.c create mode 100644 drivers/infiniband/hw/hfi1/debugfs.h create mode 100644 drivers/infiniband/hw/hfi1/device.c create mode 100644 drivers/infiniband/hw/hfi1/device.h create mode 100644 drivers/infiniband/hw/hfi1/diag.c create mode 100644 drivers/infiniband/hw/hfi1/dma.c create mode 100644 drivers/infiniband/hw/hfi1/driver.c create mode 100644 drivers/infiniband/hw/hfi1/eprom.c create mode 100644 drivers/infiniband/hw/hfi1/eprom.h create mode 100644 drivers/infiniband/hw/hfi1/file_ops.c create mode 100644 drivers/infiniband/hw/hfi1/firmware.c create mode 100644 drivers/infiniband/hw/hfi1/hfi.h create mode 100644 drivers/infiniband/hw/hfi1/init.c create mode 100644 drivers/infiniband/hw/hfi1/intr.c create mode 100644 drivers/infiniband/hw/hfi1/iowait.h create mode 100644 drivers/infiniband/hw/hfi1/keys.c create mode 100644 drivers/infiniband/hw/hfi1/mad.c create mode 100644 drivers/infiniband/hw/hfi1/mad.h create mode 100644 drivers/infiniband/hw/hfi1/mmap.c create mode 100644 drivers/infiniband/hw/hfi1/mr.c create mode 100644 drivers/infiniband/hw/hfi1/opa_compat.h create mode 100644 drivers/infiniband/hw/hfi1/pcie.c create mode 100644 drivers/infiniband/hw/hfi1/pio.c create mode 100644 drivers/infiniband/hw/hfi1/pio.h create mode 100644 drivers/infiniband/hw/hfi1/pio_copy.c create mode 100644 drivers/infiniband/hw/hfi1/platform_config.h create mode 100644 drivers/infiniband/hw/hfi1/qp.c create mode 100644 drivers/infiniband/hw/hfi1/qp.h create mode 100644 drivers/infiniband/hw/hfi1/qsfp.c create mode 100644 drivers/infiniband/hw/hfi1/qsfp.h create mode 100644 drivers/infiniband/hw/hfi1/rc.c create mode 100644 drivers/infiniband/hw/hfi1/ruc.c create mode 100644 drivers/infiniband/hw/hfi1/sdma.c create mode 100644 drivers/infiniband/hw/hfi1/sdma.h create mode 100644 drivers/infiniband/hw/hfi1/srq.c create mode 100644 drivers/infiniband/hw/hfi1/sysfs.c create mode 100644 drivers/infiniband/hw/hfi1/trace.c create mode 100644 drivers/infiniband/hw/hfi1/trace.h create mode 100644 drivers/infiniband/hw/hfi1/twsi.c create mode 100644 drivers/infiniband/hw/hfi1/twsi.h create mode 100644 drivers/infiniband/hw/hfi1/uc.c create mode 100644 drivers/infiniband/hw/hfi1/ud.c create mode 100644 drivers/infiniband/hw/hfi1/user_pages.c create mode 100644 drivers/infiniband/hw/hfi1/user_sdma.c create mode 100644 drivers/infiniband/hw/hfi1/user_sdma.h create mode 100644 drivers/infiniband/hw/hfi1/verbs.c create mode 100644 drivers/infiniband/hw/hfi1/verbs.h create mode 100644 drivers/infiniband/hw/hfi1/verbs_mcast.c create mode 100644 include/rdma/opa_port_info.h create mode 100644 include/uapi/rdma/hfi/hfi1_user.h
Signature · 6 lines
Mike -- -- 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