[Skiboot] [PATCH 0/7] Various fixes for opencapi

Frederic Barrat fbarrat at linux.ibm.com
Sat Mar 2 00:52:32 AEDT 2019

Series of unrelated small improvements or fixes for opencapi. Most
 - setup some perf counters to track CRC errors on the opencapi link
 - fix a pretty serious problem seen when running with 2 opencapi
   cards on the same socket and where we were not resetting them
   properly at boot
 - get ready for upcoming cards with bigger FPGAs, requiring more time
   to reset

Andrew: I think you were right and it should not intefere too much
with your upcoming witherspoon patchset. Feel free to complain
otherwise, you have higher priority.

Frederic Barrat (7):
  npu2-opencapi: Rework ODL register access
  npu2-opencapi: Setup perf counters to detect CRC errors
  npu2-opencapi: Rename functions used to reset an adapter
  npu2-opencapi: Keep ODL and adapter in reset at the same time
  npu2-opencapi: ODL should be in reset when enabled
  npu2-opencapi: Extend delay after releasing reset on adapter
  npu2-opencapi: Fix adapter reset when using 2 adapters

 hw/npu2-common.c        |   3 +
 hw/npu2-hw-procedures.c |  17 +--
 hw/npu2-opencapi.c      | 265 +++++++++++++++++++++-------------------
 include/npu2-regs.h     |  47 ++++---
 include/npu2.h          |   4 +
 5 files changed, 174 insertions(+), 162 deletions(-)


More information about the Skiboot mailing list