diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-03-05 23:26:30 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-03-11 22:52:32 +0300 |
commit | 93b01528586b693a3ab31ed7be92b2347a9416ca (patch) | |
tree | 6810dd5a484a0df848bc7491d5d870a56929e89a /tools/perf/scripts/python/gecko.py | |
parent | 46573d944f00f440dc794fa87ebbdb0dd9dbf691 (diff) | |
download | linux-93b01528586b693a3ab31ed7be92b2347a9416ca.tar.xz |
KVM: arm64: Compute PMCEID from arm_pmu's event bitmaps
The PMUv3 driver populates a couple of bitmaps with the values of
PMCEID{0,1}, from which the guest's PMCEID{0,1} can be derived. This
is particularly convenient when virtualizing PMUv3 on IMP DEF hardware,
as reading the nonexistent PMCEID registers leads to a rather unpleasant
UNDEF.
Tested-by: Janne Grunau <j@jannau.net>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250305202641.428114-4-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions