[Skiboot] [PATCH v4 0/8] Initial fused-core support for POWER9
Vaidyanathan Srinivasan
svaidy at linux.vnet.ibm.com
Wed Feb 26 21:17:44 AEDT 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
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
asm/head.S | 24 ++++++++++--
core/chip.c | 32 +++++++++++++---
core/cpu.c | 61 ++++++++++++++++++++++++------
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/xive-p9-regs.h | 1 +
include/xscom.h | 3 ++
13 files changed, 259 insertions(+), 33 deletions(-)
--
2.24.1
More information about the Skiboot
mailing list