summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2020-06-30 16:02:22 +0300
committerWill Deacon <will@kernel.org>2020-11-10 00:49:34 +0300
commit364a5a8ae8dc2dd457e2fefb4da3f3fd2c0ba8b1 (patch)
tree4f905f7e5ebe04d52da859df00aa816827bc1558 /tools/perf/scripts/python/syscall-counts.py
parent7cda23da52ad793a578d290e7fcc9cdc1698bba8 (diff)
downloadlinux-364a5a8ae8dc2dd457e2fefb4da3f3fd2c0ba8b1.tar.xz
arm64: cpufeatures: Add capability for LDAPR instruction
Armv8.3 introduced the LDAPR instruction, which provides weaker memory ordering semantics than LDARi (RCpc vs RCsc). Generally, we provide an RCsc implementation when implementing the Linux memory model, but LDAPR can be used as a useful alternative to dependency ordering, particularly when the compiler is capable of breaking the dependencies. Since LDAPR is not available on all CPUs, add a cpufeature to detect it at runtime and allow the instruction to be used with alternative code patching. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions