mbox series

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

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

Message

Frederic Barrat May 23, 2018, 5:25 p.m. UTC
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(-)

Comments

Stewart Smith June 5, 2018, 4:14 a.m. UTC | #1
Frederic Barrat <fbarrat@linux.ibm.com> writes:
> 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.

Nice.

Thanks for the series and for the people reviewing it!

Merged to master as of 60cb2cd0595d2bc0253fa5ada3f07d4fb69823e3