diff options
author | Oliver Upton <[email protected]> | 2024-10-25 18:23:47 +0000 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2024-10-31 19:00:40 +0000 |
commit | a3034dab74fc12d6c0a589e31af9fafc436a4a0e (patch) | |
tree | 0460a5c7c098fd0e02e0c4c86b5385c74ee9124e /scripts/gdb/linux/utils.py | |
parent | 166b77a2f42341c22fe6cda504a1afa3f672f920 (diff) |
KVM: arm64: Rename kvm_pmu_valid_counter_mask()
Nested PMU support requires dynamically changing the visible range of
PMU counters based on the exception level and value of MDCR_EL2.HPMN. At
the same time, the PMU emulation code needs to know the absolute number
of implemented counters, regardless of context.
Rename the existing helper to make it obvious that it returns the number
of implemented counters and not anything else.
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions