[Skiboot] [PATCH v6 00/11] Initial fused-core support for POWER9

Vaidyanathan Srinivasan svaidy at linux.ibm.com
Wed Aug 5 03:32:12 AEST 2020


v1:

This is based on initial work by Ryan Grimm with additions & cleanups by
BenH and Vaidy.

v2:

This includes forward porting to latest upstream and fixing 'make check'.

Some notes:
- This currently needs a special modified HostBoot
- It's missing the "ibm,thread-groups" property to inform Linux about big cores
- We need to look at HMI issues, as in some cases TFAC errors get only sent to
  one half but both half need to rendez-vous, so we need to "trigger" an error
  in the other half as well.

The above aren't blockers, it should be possible to merge this first.

v3:

- Drop the HDAT workaround, since the issue is resolved with a fix in
  hdat layer
- Minor nits in comments
- Keep naming consistent between fused-core and normal-core
- Trim stop state list and add stop2
- stop0,1,2 states were tested for 24hrs on ZZ with fused core chips

v4:

- Rebased patch series to current skiboot master
- Tested on P9 platform with newer firmware levels
- Tested IPL, normal reboot and stop0,1,2 states

v5:

- Rebased and tested on P9 platform with newer firmware levels
- Added support for Cumulus chip and Fleetwood platform

v6:

- Rebased on current skiboot master branch
- Tested on P9 system with normal core mode and fused core mode


Benjamin Herrenschmidt (7):
  xive: Set the fused core mode properly
  chip: Fix pir_to_thread_id for fused cores
  cpu: Keep track of the "ec_primary" in big core more
  direct-ctl: Use the EC primary for special wakeups
  slw: Limit fused cores P9 to STOP0/1/2
  cpu: Make cpu_get_core_index() return the fused core number
  imc: Use pir_to_core_id() rather than cpu_get_core_index()

Ryan Grimm (1):
  Add basic P9 fused core support

Vaidyanathan Srinivasan (3):
  Add POWER9 Cumulus processor PVR type
  Add POWER9 Fleetwood platform support
  Enable fused core mode support in OPAL

 asm/head.S               | 25 ++++++++++--
 core/chip.c              | 32 +++++++++++++---
 core/cpu.c               | 53 ++++++++++++++++++++------
 core/cpufeatures.c       | 19 ++++++++++
 core/direct-controls.c   |  8 ++--
 core/init.c              |  4 --
 hdata/test/hdata_to_dt.c |  9 ++++-
 hw/imc.c                 |  8 ++--
 hw/slw.c                 | 82 +++++++++++++++++++++++++++++++++++++++-
 hw/xive.c                |  6 ++-
 include/chip.h           | 43 +++++++++++++++++++++
 include/cpu.h            | 13 +++++++
 include/processor.h      | 15 ++++++++
 include/xive-p9-regs.h   |  1 +
 include/xscom.h          |  3 ++
 platforms/ibm-fsp/zz.c   |  4 ++
 16 files changed, 289 insertions(+), 36 deletions(-)

-- 
2.26.2



More information about the Skiboot mailing list