diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-03-05 23:30:40 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-03-11 22:54:30 +0300 |
commit | e1231aacb065b2594d6f4833896aedc142fbd1d6 (patch) | |
tree | eec5c562d7f212f51c510b56202bbe921cb43227 /tools/perf/scripts/python/gecko.py | |
parent | 1b92e65f5006da55c8779b86f052855a49ecdd97 (diff) | |
download | linux-e1231aacb065b2594d6f4833896aedc142fbd1d6.tar.xz |
arm64: Enable IMP DEF PMUv3 traps on Apple M*
Apple M1 and M2 CPUs support IMPDEF traps of the PMUv3 sysregs, allowing
a hypervisor to virtualize an architectural PMU for a VM. Flip the
appropriate bit in HACR_EL2 on supporting hardware.
Tested-by: Janne Grunau <j@jannau.net>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250305203040.428448-1-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