summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2025-03-05 23:30:40 +0300
committerOliver Upton <oliver.upton@linux.dev>2025-03-11 22:54:30 +0300
commite1231aacb065b2594d6f4833896aedc142fbd1d6 (patch)
treeeec5c562d7f212f51c510b56202bbe921cb43227 /tools/perf/scripts/python/gecko.py
parent1b92e65f5006da55c8779b86f052855a49ecdd97 (diff)
downloadlinux-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