[Skiboot] [PATCH v5 00/10] Initial fused-core support for POWER9
Vaidyanathan Srinivasan
svaidy at linux.ibm.com
Wed Apr 22 15:04:09 AEST 2020
v1:
This is based on initial work by Ryan Grimm with additions & cleanups by
BenH.
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
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 (2):
Add POWER9 Cumulus processor PVR type
Add POWER9 Fleetwood platform support
asm/head.S | 24 ++++++++++--
core/chip.c | 32 +++++++++++++---
core/cpu.c | 61 ++++++++++++++++++++++++------
core/cpufeatures.c | 19 ++++++++++
core/direct-controls.c | 12 +++---
core/fast-reboot.c | 2 +-
hdata/test/hdata_to_dt.c | 9 ++++-
hw/imc.c | 6 +--
hw/slw.c | 80 ++++++++++++++++++++++++++++++++++++++++
hw/xive.c | 6 ++-
include/chip.h | 43 +++++++++++++++++++++
include/cpu.h | 13 +++++++
include/processor.h | 14 +++++++
include/xive-p9-regs.h | 1 +
include/xscom.h | 3 ++
platforms/ibm-fsp/zz.c | 4 ++
16 files changed, 296 insertions(+), 33 deletions(-)
--
2.26.1
More information about the Skiboot
mailing list