diff options
author | Marc Zyngier <[email protected]> | 2022-11-13 16:38:23 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-17 15:39:51 +0000 |
commit | 0cb9c3c87a9d3287eaf353936e6846d885102439 (patch) | |
tree | 99707a27078cf635685bafad3b11d746beb21d15 /lib/mpi/mpi-sub-ui.c | |
parent | 0f1e172b54f7574ca6aa46b851b332896add955f (diff) |
KVM: arm64: PMU: Add counter_index_to_*reg() helpers
In order to reduce the boilerplate code, add two helpers returning
the counter register index (resp. the event register) in the vcpu
register file from the counter index.
Reviewed-by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions