[Skiboot] [PATCH v2 0/5] npu2-opencapi: Use presence detection and reset

Frederic Barrat fbarrat at linux.ibm.com
Thu May 24 03:25:40 AEST 2018


This series enables presence detection for opencapi devices on
platform where it's supported... Only zaius for now, but ZZ should be
around the corner.

It also reorders how we train the links, to use the PHB reset
callbacks. This is a first step to be able to reset the link from
linux.

Boot time is improved, especially on zaius.

Changelog:
v2:
	comments from Andrew (patch 1, 2)
	Add fencing/unfencing of the OTL during reset (patch 3)


Frederic Barrat (5):
  npu2-opencapi: Use presence detection
  npu2-opencapi: Rework adapter reset
  npu2-opencapi: Train links on fundamental reset
  npu2-opencapi: Cleanup traces printed during link training
  npu2-opencapi: Fix link state to report link down

 core/platform.c          |  21 ++-
 hw/npu2-opencapi.c       | 482 ++++++++++++++++++++++++++++++++++++-----------
 include/npu2.h           |   2 +
 include/platform.h       |  10 +-
 platforms/astbmc/zaius.c |  15 +-
 platforms/ibm-fsp/zz.c   |  20 +-
 6 files changed, 424 insertions(+), 126 deletions(-)

-- 
2.14.1



More information about the Skiboot mailing list