[Skiboot] [RFC PATCH 0/4] use stop states in idle for POWER9

Nicholas Piggin npiggin at gmail.com
Sun Aug 13 23:59:55 AEST 2017


Hi, I just decided to try make this work, and it does seem to
in the simulator. I don't know if there is any more consideration
we need for POWER9 to use stop here, I'm under the impression that
for RL=3 we don't go to the reset engine or lose hypervisor state.

Thanks,
Nick

Nicholas Piggin (4):
  cpu: avoid decrementer wakeups in case of cpu_wake_on_job idle
  init: add missing sync_icache after exception vector patching
  cpu: idle move the minimum PM latency into the idle code
  cpu: initial power management implementation for POWER9

 asm/head.S          |  70 ++++++++++++-----
 core/cpu.c          | 216 +++++++++++++++++++++++++++++++++++++++++++---------
 core/fast-reboot.c  |   3 +-
 core/init.c         |  14 +++-
 core/timebase.c     |   4 +-
 hdata/cpu-common.c  |  12 ---
 hw/slw.c            |   2 +-
 include/cpu.h       |  10 ++-
 include/processor.h |  44 +++++++++++
 include/skiboot.h   |   4 +-
 10 files changed, 299 insertions(+), 80 deletions(-)

-- 
2.13.3



More information about the Skiboot mailing list