aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2025-04-09 13:24:34 +0000
committerMarc Zyngier <[email protected]>2025-04-11 12:08:23 +0000
commitcd84a42c6703f69a865bd8e48ee8107eb80e0dea (patch)
tree01729fdf13219d62319e30bd47acea3ca3c948bd /rust/helpers/task.c
parentKVM: arm64: Allow userspace to limit the number of PMU counters for EL2 VMs (diff)
downloadkernel-cd84a42c6703f69a865bd8e48ee8107eb80e0dea.tar.gz
kernel-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 <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions