diff options
author | 2025-04-09 14:24:34 +0100 | |
---|---|---|
committer | 2025-04-11 13:08:23 +0100 | |
commit | cd84a42c6703f69a865bd8e48ee8107eb80e0dea (patch) | |
tree | 01729fdf13219d62319e30bd47acea3ca3c948bd /scripts/lib/kdoc/kdoc_files.py | |
parent | KVM: arm64: Allow userspace to limit the number of PMU counters for EL2 VMs (diff) | |
download | linux-rng-cd84a42c6703f69a865bd8e48ee8107eb80e0dea.tar.xz linux-rng-cd84a42c6703f69a865bd8e48ee8107eb80e0dea.zip |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions