diff options
author | 2017-08-12 02:39:07 +1000 | |
---|---|---|
committer | 2017-08-23 23:48:38 +1000 | |
commit | d1d0d5ffb3006eaf9b5f41c89fe801e032cbbfe4 (patch) | |
tree | cfb1d7cec1dc0e7e3382efc64a2beb54f041799d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/64s: Remove spurious IRQ reason in IRQ replay (diff) | |
download | wireguard-linux-d1d0d5ffb3006eaf9b5f41c89fe801e032cbbfe4.tar.xz wireguard-linux-d1d0d5ffb3006eaf9b5f41c89fe801e032cbbfe4.zip |
powerpc/64: Optimise set/clear of CTRL[RUN] (runlatch)
On modern CPUs the CTRL register is read-only except bit 63 which is
the run latch control. This means it can be updated with a mtspr
rather than mfspr/mtspr.
To accomodate older CPUs (Cell at least), where there are other bits
in the register, we still do a read/modify/write on pre 2.06 CPUs.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Update change log to mention 2.06 workaround]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions