diff options
author | Raghavendra Rao Ananta <[email protected]> | 2023-10-20 21:40:45 +0000 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2023-10-24 22:59:30 +0000 |
commit | a45f41d754e0b37de4b7dc1fb3c6b7a1285882fc (patch) | |
tree | 9534e1bd6b723ecd3e35de3b0cf176cef649d6ba /tools/perf/util/trace-event-scripting.c | |
parent | 4d20debf9ca160720a0b01ba4f2dc3d62296c4d1 (diff) |
KVM: arm64: Add {get,set}_user for PM{C,I}NTEN{SET,CLR}, PMOVS{SET,CLR}
For unimplemented counters, the bits in PM{C,I}NTEN{SET,CLR} and
PMOVS{SET,CLR} registers are expected to RAZ. To honor this,
explicitly implement the {get,set}_user functions for these
registers to mask out unimplemented counters for userspace reads
and writes.
Co-developed-by: Marc Zyngier <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[Oliver: drop unnecessary locking]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions