Home
last modified time | relevance | path

Searched hist:e96d8b80afd3f63ffad58c0fdd5e0c380c4c404e (Results 1 – 1 of 1) sorted by relevance

/linux/arch/arm64/kvm/
H A Dpmu-emul.ce96d8b80afd3f63ffad58c0fdd5e0c380c4c404e Tue Dec 17 17:56:11 UTC 2024 Oliver Upton <oliver.upton@linux.dev> KVM: arm64: Only apply PMCR_EL0.P to the guest range of counters

An important distinction from other registers affected by HPMN is that
PMCR_EL0 only affects the guest range of counters, regardless of the EL
from which it is accessed. Ensure that PMCR_EL0.P is always applied to
'guest' counters by manually computing the mask rather than deriving it
from the current context.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241217175611.3658290-1-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>