aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2017-06-13 23:05:51 +1000
committerMichael Ellerman <[email protected]>2017-06-19 19:46:29 +1000
commit9d29250136f60438fc0839871bae0a0e9cbbd47e (patch)
tree3bda3145c64871a268c69e1ccb8b354e92e52c8b /tools/perf/scripts/python/bin
parentb51351e264009e890936af83b8d800b32034273d (diff)
powerpc/64s/idle: Avoid SRR usage in idle sleep/wake paths
Idle code now always runs at the 0xc... effective address whether in real or virtual mode. This means rfid can be ditched, along with a lot of SRR manipulations. In the wakeup path, carry SRR1 around in r12. Use mtmsrd to change MSR states as required. This also balances the return prediction for the idle call, by doing blr rather than rfid to return to the idle caller. On POWER9, 2-process context switch on different cores, with snooze disabled, increases performance by 2%. Signed-off-by: Nicholas Piggin <[email protected]> [mpe: Incorporate v2 fixes from Nick] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions