summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-11-13 16:38:25 +0000
committerMarc Zyngier <maz@kernel.org>2022-11-19 12:43:47 +0000
commit26d2d0594d7016dbcbce4038aa202c2858d5a944 (patch)
tree9905b537a3d3a093922754f773613c1ddc6bbc3f /drivers/infiniband/hw
parent9917264d74d9063341968a8e071266358496777b (diff)
downloadlinux-26d2d0594d7016dbcbce4038aa202c2858d5a944.tar.bz2
KVM: arm64: PMU: Do not let AArch32 change the counters' top 32 bits
Even when using PMUv3p5 (which implies 64bit counters), there is no way for AArch32 to write to the top 32 bits of the counters. The only way to influence these bits (other than by counting events) is by writing PMCR.P==1. Make sure we obey the architecture and preserve the top 32 bits on a counter update. Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221113163832.3154370-10-maz@kernel.org
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions