diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-03-05 23:26:36 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-03-11 22:54:29 +0300 |
commit | 2c433f70dccc1af6922931404bfe23d215bdfff0 (patch) | |
tree | 06dd25c4c9bebd9633fc4834b096235e08594f3a /tools/perf/scripts/python/libxed.py | |
parent | 56290316a443709957f958e4e40bc93e0213bcc3 (diff) | |
download | linux-2c433f70dccc1af6922931404bfe23d215bdfff0.tar.xz |
KVM: arm64: Compute synthetic sysreg ESR for Apple PMUv3 traps
Apple M* CPUs provide an IMPDEF trap for PMUv3 sysregs, where ESR_EL2.EC
is a reserved value (0x3F) and a sysreg-like ISS is reported in
AFSR1_EL2.
Compute a synthetic ESR for these PMUv3 traps, giving the illusion of
something architectural to the rest of KVM.
Tested-by: Janne Grunau <j@jannau.net>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250305202641.428114-10-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions