aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2025-04-11 11:02:20 +0000
committerMarc Zyngier <[email protected]>2025-04-11 12:08:24 +0000
commit600f6fa5c90c05b4f2f60cde24fcea6a7239c41f (patch)
treea646369d162399240525cb758aebe6603a43ca25 /rust/helpers/task.c
parentKVM: arm64: Handle out-of-bound write to MDCR_EL2.HPMN (diff)
downloadkernel-600f6fa5c90c05b4f2f60cde24fcea6a7239c41f.tar.gz
kernel-600f6fa5c90c05b4f2f60cde24fcea6a7239c41f.zip
KVM: arm64: Let kvm_vcpu_read_pmcr() return an EL-dependent value for PMCR_EL0.N
When EL2 is present, PMCR_EL0.N is the effective value of MDCR_EL2.HPMN when accessed from EL1 or EL0. Make sure we honor this requirement. 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