aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2021-11-24 15:36:12 +0000
committerJames Morse <james.morse@arm.com>2022-02-15 17:38:46 +0000
commitd739da1694a0eaef0358a42b76904b611539b77b (patch)
tree257c605a5f73b7754ba9b0be9a513f2785185312 /tools/perf/scripts/python
parentKVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A (diff)
downloadlinux-d739da1694a0eaef0358a42b76904b611539b77b.tar.gz
linux-d739da1694a0eaef0358a42b76904b611539b77b.zip
arm64: entry: Make the trampoline cleanup optional
Subsequent patches will add additional sets of vectors that use the same tricks as the kpti vectors to reach the full-fat vectors. The full-fat vectors contain some cleanup for kpti that is patched in by alternatives when kpti is in use. Once there are additional vectors, the cleanup will be needed in more cases. But on big/little systems, the cleanup would be harmful if no trampoline vector were in use. Instead of forcing CPUs that don't need a trampoline vector to use one, make the trampoline cleanup optional. Entry at the top of the vectors will skip the cleanup. The trampoline vectors can then skip the first instruction, triggering the cleanup to run. 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')
0 files changed, 0 insertions, 0 deletions