[Skiboot] [PATCH 0/6] npu2: Add support for relaxed-ordering mode

Reza Arbab arbab at linux.ibm.com
Thu Aug 2 06:01:13 AEST 2018


We've only recently been given a suitable driver stack and hardware with which
to test relaxed ordering, so I took the work Alistair had stashed away some
time ago and fleshed it out.

Patches 1-4 are very simple prep, but I thought the main patch was easier to
read with them separated out.

In light testing, GPUDirect throughput to an InfiniBand adapter increases ~3.6x
when relaxed ordering is enabled.

v3:
* Add new OPAL APIs and ibm,phb-pec-index to documentation
* Reword commit log of "npu2: Add support for relaxed-ordering mode"

v2:
* http://patchwork.ozlabs.org/project/skiboot/list/?series=58350
* Drop patch adding pci_next_phb() as it was never used
* Validate argument to npu2_relaxed_ordering_source_grpchp()
* Correct headline comment of npu2_set_relaxed_ordering()
* Lower log level in npu2_check_relaxed_ordering()

v1:
* http://patchwork.ozlabs.org/project/skiboot/list/?series=57991
---
Reza Arbab (6):
  pci: Move logging macros to pci.h
  phb4: Track PEC index in dt and phb4 struct
  npu2: Add NPU2_SM_REG_OFFSET()
  npu2: Don't open code NPU2_RELAXED_ORDERING_CFG2
  npu2: Add support for relaxed-ordering mode
  doc/opal-api: Document npu2 relaxed ordering APIs

 core/pci.c                                         |  21 --
 doc/device-tree/pci.rst                            |   1 +
 .../opal-npu2-get-set-relaxed-order-168-169.rst    |  67 +++++
 hw/npu2.c                                          | 302 +++++++++++++++++++--
 hw/phb4.c                                          |   2 +
 include/npu2-regs.h                                |  27 +-
 include/opal-api.h                                 |   4 +-
 include/pci.h                                      |  29 ++
 include/phb4.h                                     |   4 +
 9 files changed, 414 insertions(+), 43 deletions(-)
 create mode 100644 doc/opal-api/opal-npu2-get-set-relaxed-order-168-169.rst

-- 
1.8.3.1



More information about the Skiboot mailing list