diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-03-05 23:26:32 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-03-11 22:54:23 +0300 |
commit | 6f34024d185e2fa6636c660431c4595a6529328d (patch) | |
tree | f23caff594e36b59cfc9e103a8a7f0dbb4f9d1b1 /tools/perf/scripts/python/stackcollapse.py | |
parent | ed335722b4571c438c008fc96bf86b9d4705a60f (diff) | |
download | linux-6f34024d185e2fa6636c660431c4595a6529328d.tar.xz |
KVM: arm64: Use a cpucap to determine if system supports FEAT_PMUv3
KVM is about to learn some new tricks to virtualize PMUv3 on IMPDEF
hardware. As part of that, we now need to differentiate host support
from guest support for PMUv3.
Add a cpucap to determine if an architectural PMUv3 is present to guard
host usage of PMUv3 controls.
Tested-by: Janne Grunau <j@jannau.net>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250305202641.428114-6-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions