diff options
author | James Morse <james.morse@arm.com> | 2015-12-10 13:22:41 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-12-10 15:08:09 +0300 |
commit | 49003a8d6b35e128ef5e51433e60e783a46fbe5f (patch) | |
tree | 5e60d93b6b55bfaf31a7b7d2e1b9bde9021ef893 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 1ffe199b1c9b72a8e752a9ae2a7af10128ab2ca1 (diff) | |
download | linux-49003a8d6b35e128ef5e51433e60e783a46fbe5f.tar.xz |
arm64: don't call C code with el0's fp register
On entry from el0, we save all the registers on the kernel stack, and
restore them before returning. x29 remains unchanged when we call out
to C code, which will store x29 as the frame-pointer on the stack.
Instead, write 0 into x29 after entry from el0, to avoid any risk of
tracing into user space.
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions