aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2024-12-17 17:56:11 +0000
committerOliver Upton <[email protected]>2024-12-18 21:22:25 +0000
commite96d8b80afd3f63ffad58c0fdd5e0c380c4c404e (patch)
tree622182ef18c419d851b7e31a9d9e65d3cbf9494a /drivers/platform/x86/intel/pmt/class.c
parentKVM: arm64: nv: Reload PMU events upon MDCR_EL2.HPME change (diff)
downloadkernel-e96d8b80afd3f63ffad58c0fdd5e0c380c4c404e.tar.gz
kernel-e96d8b80afd3f63ffad58c0fdd5e0c380c4c404e.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions