diff options
author | Robin Murphy <robin.murphy@arm.com> | 2020-03-17 21:22:54 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-03-18 01:45:59 +0300 |
commit | 29227d6ea1572b160e5bea45b3c93a0346444dfa (patch) | |
tree | 2811d2247673352152d46e73b36ed58e181036f8 /.mailmap | |
parent | 06236821aeac480a0835dd8dd9fb20e3b5a5d80d (diff) | |
download | linux-29227d6ea1572b160e5bea45b3c93a0346444dfa.tar.xz |
arm64: perf: Clean up enable/disable calls
Reading this code bordered on painful, what with all the repetition and
pointless return values. More fundamentally, dribbling the hardware
enables and disables in one bit at a time incurs needless system
register overhead for chained events and on reset. We already use
bitmask values for the KVM hooks, so consolidate all the register
accesses to match, and make a reasonable saving in both source and
object code.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions