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

Reza Arbab arbab at linux.ibm.com
Sat Jul 28 00:47:36 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-5 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.

Reza Arbab (6):
  pci: Move logging macros to pci.h
  pci: Add pci_next_phb()
  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          |  33 +++---
 hw/npu2.c           | 300 ++++++++++++++++++++++++++++++++++++++++++++++++----
 hw/phb4.c           |   2 +
 include/npu2-regs.h |  27 ++++-
 include/opal-api.h  |   4 +-
 include/pci.h       |  30 ++++++
 include/phb4.h      |   4 +
 7 files changed, 357 insertions(+), 43 deletions(-)

-- 
1.8.3.1



More information about the Skiboot mailing list