diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2016-11-18 14:34:07 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2016-11-24 09:24:23 +1100 |
commit | bf53c88e42ac5dfdef649888d01b3bc96375647b (patch) | |
tree | cdd6ddb2340db19c2c61d60ed7d01d6e9c60503f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f725758b899f11cac6b375e332e092dc855b9210 (diff) |
KVM: PPC: Book3S HV: Use stop instruction rather than nap on POWER9
POWER9 replaces the various power-saving mode instructions on POWER8
(doze, nap, sleep and rvwinkle) with a single "stop" instruction, plus
a register, PSSCR, which controls the depth of the power-saving mode.
This replaces the use of the nap instruction when threads are idle
during guest execution with the stop instruction, and adds code to
set PSSCR to a value which will allow an SMT mode switch while the
thread is idle (given that the core as a whole won't be idle in these
cases).
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions