summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-11-13 19:38:32 +0300
committerMarc Zyngier <maz@kernel.org>2022-11-19 15:56:39 +0300
commitd56bdce586e7fabd2b3339f476e0e4c059b24e19 (patch)
treed0fde421857dae96db60eb5c01c4fbd260327d01 /scripts/lib
parent9bad925dd741408825590eccc495d073cc246de0 (diff)
downloadlinux-d56bdce586e7fabd2b3339f476e0e4c059b24e19.tar.xz
KVM: arm64: PMU: Make kvm_pmc the main data structure
The PMU code has historically been torn between referencing a counter as a pair vcpu+index or as the PMC pointer. Given that it is pretty easy to go from one representation to the other, standardise on the latter which, IMHO, makes the code slightly more readable. YMMV. Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221113163832.3154370-17-maz@kernel.org
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions