diff options
author | James Morse <james.morse@arm.com> | 2021-11-23 18:41:43 +0000 |
---|---|---|
committer | James Morse <james.morse@arm.com> | 2022-02-15 17:39:05 +0000 |
commit | 03aff3a77a58b5b52a77e00537a42090ad57b80b (patch) | |
tree | e0e0c580eb4393dc618e01ebd1060e02db04d865 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | d739da1694a0eaef0358a42b76904b611539b77b (diff) |
arm64: entry: Free up another register on kpti's tramp_exit path
Kpti stashes x30 in far_el1 while it uses x30 for all its work.
Making the vectors a per-cpu data structure will require a second
register.
Allow tramp_exit two registers before it unmaps the kernel, by
leaving x30 on the stack, and stashing x29 in far_el1.
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions