mbox series

[v2,0/6] OpenCAPI support for Witherspoon

Message ID cover.155b5a246ba2c6fb51c9460df20cb4a1893da3f7.1535359753.git-series.andrew.donnellan@au1.ibm.com
Headers show
Series OpenCAPI support for Witherspoon | expand

Message

Andrew Donnellan Aug. 27, 2018, 8:55 a.m. UTC
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.

v1->v2:

- Address review comments from Reza/Alistair/Oliver

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                |  26 +--
 hdata/spira.c                  |   1 +-
 hw/npu2-common.c               | 224 +++++++++++++++++++++--
 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                 |  27 ++-
 include/platform.h             |  16 +-
 include/skiboot.h              |   1 +-
 platforms/astbmc/witherspoon.c | 220 +++++++++++++++++++++++-
 platforms/astbmc/zaius.c       |  25 +--
 platforms/ibm-fsp/zz.c         |  24 +-
 15 files changed, 727 insertions(+), 463 deletions(-)

base-commit: f3d801c01f978a346b70e9929028a3b7a651bd97