diff options
author | Julien Thierry <julien.thierry@arm.com> | 2018-09-06 14:09:56 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-09-10 18:27:56 +0300 |
commit | a1f33941f7e103bcf471eaf8461b212223c642d6 (patch) | |
tree | fb9a2e0d7f385293d8513bc81e893e7694823ac1 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 4733c7c79e8c466fedb4fd4eb29bfc5b1bdb336f (diff) | |
download | linux-a1f33941f7e103bcf471eaf8461b212223c642d6.tar.xz |
arm64: uaccess: implement unsafe accessors
Current implementation of get/put_user_unsafe default to get/put_user
which toggle PAN before each access, despite having been told by the caller
that multiple accesses to user memory were about to happen.
Provide implementations for user_access_begin/end to turn PAN off/on and
implement unsafe accessors that assume PAN was already turned off.
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions