[Skiboot] [PATCH 00/13] Support OpenCAPI and NVLink devices on same NPU on Witherspoon

Andrew Donnellan andrew.donnellan at au1.ibm.com
Wed Dec 12 17:58:43 AEDT 2018


This series enables mixing of OpenCAPI and NVLink devices on the same NPU
on Witherspoon systems.

The first half of this series is preparatory refactoring, merging and
simplifying various duplicated code paths.

The second half is the support actually required for mixing both device
types. We fix up some issues in the Witherspoon presence detection code,
merge the brick configuration procedure and do various consequential
cleanups and fixups before finally removing the restriction on mixing
device types at the end.

It could probably do with a bit more testing on both the OpenCAPI and
NVLink sides, and testing on various machine types to make sure it's not
regressing anything, so if you have any OpenCAPI or NVLink hardware test
reports would be very welcome.

- Andrew

Andrew Donnellan (12):
  hw/npu2: Simplify BAR structures
  hw/npu2: Merge implementations of BAR accessor functions
  hw/npu2: Move PHY/NTL/GENID BAR assignment to common code
  hw/npu2: Simplify npu2_write_bar()
  hw/npu2: Don't repopulate NPU devices in NVLink init path
  hw/npu2: Rework npu2_add_interrupt_map() and skip non-NVLink devices
  platforms/astbmc/witherspoon: Rework NPU presence detection
  hw/npu2: Combined NPU brick configuration procedure
  hw/npu2-opencapi: FIR masking for mixed setups
  hw/npu2: Fix OpenCAPI PE assignment
  hw/npu2: Always check device type when looping through NPU devices
  hw/npu2-common: Allow mixed mode NPU setups

Frederic Barrat (1):
  hw/npu2: Make IRQ setup code common

 hw/npu2-common.c               | 409 +++++++++++++++++++++++--
 hw/npu2-opencapi.c             | 378 ++++-------------------
 hw/npu2.c                      | 556 ++++++++--------------------------
 include/npu2-regs.h            |   4 +-
 include/npu2.h                 |  55 +--
 platforms/astbmc/witherspoon.c |  62 +++-
 6 files changed, 685 insertions(+), 779 deletions(-)

base-commit: eb0226273239d806f404712aacc42961130c7079
-- 
git-series 0.9.1



More information about the Skiboot mailing list