[Skiboot] [PATCH 0/6] OpenCAPI support for Witherspoon

Andrew Donnellan andrew.donnellan at au1.ibm.com
Fri Aug 17 18:44:35 AEST 2018


This series implements OpenCAPI support for Witherspoon.

Patch 1 is a fixup to the OCC GPU presence detection.

Patches 2-4 are restructuring of the NPU code in preparation for
platforms that support both NVLink and OpenCAPI.

Patch 5 is a fixup to OpenCAPI I2C reset and presence detection.

Patch 6 adds Witherspoon-specific platform support, including the
Witherspoon-specific device presence and type detection.

I'm still testing this on a few platforms to try and avoid regressions.
Reza/Alistair it would be great if you could test on your NVLink machines,
my test machine does have a GPU in it which still seems to work.

Andrew

Andrew Donnellan (6):
  occ: Wait if OCC GPU presence status not immediately available
  npu2: Split device index into brick and link index
  hw/npu2: Common NPU2 init routine between NVLink and OpenCAPI
  hw/npu2, platform: Add NPU2 platform device detection callback
  hw/npu2, platform: Restructure OpenCAPI i2c reset/presence pins
  platforms/astbmc/witherspoon: Implement OpenCAPI support

 core/init.c                    |   2 +-
 core/platform.c                |  12 +-
 hdata/spira.c                  |   1 +-
 hw/npu2-common.c               | 223 +++++++++++++++++++++--
 hw/npu2-hw-procedures.c        |   8 +-
 hw/npu2-opencapi.c             | 327 +++++++++++-----------------------
 hw/npu2.c                      | 257 ++++++++-------------------
 hw/occ.c                       |  18 +-
 include/npu2-regs.h            |  14 +-
 include/npu2.h                 |  25 ++-
 include/platform.h             |  16 +-
 include/skiboot.h              |   1 +-
 platforms/astbmc/witherspoon.c | 220 +++++++++++++++++++++++-
 platforms/astbmc/zaius.c       |  13 +-
 platforms/ibm-fsp/zz.c         |  12 +-
 15 files changed, 703 insertions(+), 446 deletions(-)

base-commit: f3d801c01f978a346b70e9929028a3b7a651bd97
-- 
git-series 0.9.1



More information about the Skiboot mailing list