mbox series

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

Message ID 20180412124526.12662-1-fbarrat@linux.ibm.com
Headers show
Series npu2-opencapi: Use presence detection and reset | expand

Message

Frederic Barrat April 12, 2018, 12:45 p.m. UTC
From: Frederic Barrat <fbarrat@linux.vnet.ibm.com>

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.


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          |  27 ++-
 hw/npu2-opencapi.c       | 463 ++++++++++++++++++++++++++++++++++++-----------
 include/platform.h       |  10 +-
 platforms/astbmc/zaius.c |  22 ++-
 platforms/ibm-fsp/zz.c   |  27 ++-
 5 files changed, 423 insertions(+), 126 deletions(-)