[Skiboot] [PATCH 0/3] occ: GPU presence detection

Andrew Donnellan andrew.donnellan at au1.ibm.com
Tue Jun 19 16:49:20 AEST 2018


These patches implement GPU presence detection via the OCC, for platforms
where GPU presence is advertised via the APSS. This is needed for OpenCAPI
support on witherspoon.

This series is preparation for some upcoming patches to refactor the NPU2
code and use the OCC presence detection to correctly set up OpenCAPI
devices on witherspoon.

Andrew Donnellan (3):
  init, occ: Initialise OCC earlier on POWER9
  occ: Move occ declarations into occ.h
  occ: Add support for GPU presence detection

 core/hostservices.c        |   1 +-
 core/init.c                |  14 +-
 core/opal.c                |   1 +-
 core/sensor.c              |   1 +-
 hw/ipmi/ipmi-sel.c         |   1 +-
 hw/occ-sensor.c            |   2 +-
 hw/occ.c                   |  25 ++-
 hw/psi.c                   |   1 +-
 include/occ-sensor.h       | 264 +---------------------------------
 include/occ.h              | 300 ++++++++++++++++++++++++++++++++++++++-
 include/skiboot.h          |  27 +---
 platforms/ibm-fsp/common.c |   1 +-
 12 files changed, 341 insertions(+), 297 deletions(-)
 delete mode 100644 include/occ-sensor.h
 create mode 100644 include/occ.h

base-commit: b09e48ffcdbffca97f7f6ebc2135a9e82dc5d9e9
-- 
git-series 0.9.1



More information about the Skiboot mailing list