aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2018-01-08 15:38:06 +0000
committerCatalin Marinas <[email protected]>2018-01-13 10:44:33 +0000
commit6d99b68933fbcf51f84fcbba49246ce1209ec193 (patch)
tree894dd012b15f34f5c31f952fb52fc51485f24e9b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentc97e166e54b662717d20ec2e36761758d2b6a7c2 (diff)
arm64: alternatives: use tpidr_el2 on VHE hosts
Now that KVM uses tpidr_el2 in the same way as Linux's cpu_offset in tpidr_el1, merge the two. This saves KVM from save/restoring tpidr_el1 on VHE hosts, and allows future code to blindly access per-cpu variables without triggering world-switch. Signed-off-by: James Morse <[email protected]> Reviewed-by: Christoffer Dall <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions