[Skiboot] [PATCH v2 0/3] occ: GPU presence detection
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Wed Jun 20 13:49:34 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.
---
v1->v2:
- change check in patch 1 to depend on BMC vs FSP rather than POWER9 vs
POWER8 (thanks Shilpa)
Andrew Donnellan (3):
init, occ: Initialise OCC earlier on BMC systems
occ: Move occ declarations into occ.h
occ: Add support for GPU presence detection
core/hostservices.c | 1 +-
core/init.c | 15 +-
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, 342 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