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

Reza Arbab arbab at linux.ibm.com
Tue Jul 31 02:20:26 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.

v2:
* 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 (5):
  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

 core/pci.c          |  21 ----
 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 +
 7 files changed, 346 insertions(+), 43 deletions(-)

-- 
1.8.3.1



More information about the Skiboot mailing list