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

Frederic Barrat fbarrat at linux.ibm.com
Wed Mar 13 07:35:08 AEDT 2019


Series of unrelated small improvements or fixes for opencapi. Most
notably:
 - 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


Changelog:
v2:
 - rebase on master
 - address comments from Andrew


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      | 269 +++++++++++++++++++++-------------------
 include/npu2-regs.h     |  47 ++++---
 include/npu2.h          |   4 +
 5 files changed, 178 insertions(+), 162 deletions(-)

-- 
2.19.1



More information about the Skiboot mailing list