diff options
| author | Mark Rutland <[email protected]> | 2016-09-08 13:55:38 +0100 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2016-09-09 11:43:50 +0100 |
| commit | adf7589997927b1d84a5d003027b866bbef61ef2 (patch) | |
| tree | f3bb449f2bda4e8992983b5d87e7dab1415fa17e /tools/perf/scripts/python | |
| parent | 1f3d8699be82583c713e2a1099c597a740ebaf4d (diff) | |
arm64: simplify sysreg manipulation
A while back we added {read,write}_sysreg accessors to handle accesses
to system registers, without the usual boilerplate asm volatile,
temporary variable, etc.
This patch makes use of these across arm64 to make code shorter and
clearer. For sequences with a trailing ISB, the existing isb() macro is
also used so that asm blocks can be removed entirely.
A few uses of inline assembly for msr/mrs are left as-is. Those
manipulating sp_el0 for the current thread_info value have special
clobber requiremends.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions