summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-09-29 11:44:01 +0100
committerWill Deacon <will.deacon@arm.com>2014-11-14 10:42:15 +0000
commitd54e81f9af1d106e47ae8594903c43a80dae1a99 (patch)
treee3084f896a27a4658a718643a589169c51f0aa27 /include
parent44b82b7700d05a52cd983799d3ecde1a976b3bed (diff)
downloadtalos-op-linux-d54e81f9af1d106e47ae8594903c43a80dae1a99.tar.gz
talos-op-linux-d54e81f9af1d106e47ae8594903c43a80dae1a99.zip
arm64: entry: avoid writing lr explicitly for constructing return paths
Using an explicit adr instruction to set the link register to point at ret_fast_syscall/ret_to_user can defeat branch and return stack predictors. Instead, use the standard calling instructions (bl, blr) and have an unconditional branch as the following instruction. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud