diff options
author | Marc Zyngier <maz@kernel.org> | 2025-04-09 14:24:34 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-04-11 13:08:23 +0100 |
commit | cd84a42c6703f69a865bd8e48ee8107eb80e0dea (patch) | |
tree | 01729fdf13219d62319e30bd47acea3ca3c948bd /tools/perf/scripts/python/gecko.py | |
parent | b7628c7973765c856866b3047c9002ae0825add6 (diff) |
KVM: arm64: Don't let userspace write to PMCR_EL0.N when the vcpu has EL2
Now that userspace can provide its limit for hte maximum number of
counters, prevent it from writing to PMCR_EL0.N, as the value should
be derived from MDCR_EL2.HPMN in that case.
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions