aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-06-07 17:08:19 -0700
committerSean Christopherson <seanjc@google.com>2024-06-11 09:35:58 -0700
commit3b65a692a5c78d597d23a2838e91d7bf8ef49291 (patch)
treed38d44a4b99b977aadd858a08997a03d3bb4d5bc /scripts/generate_rust_analyzer.py
parentKVM: x86/pmu: Manipulate FIXED_CTR_CTRL MSR with macros (diff)
downloadlinux-rng-3b65a692a5c78d597d23a2838e91d7bf8ef49291.tar.xz
linux-rng-3b65a692a5c78d597d23a2838e91d7bf8ef49291.zip
KVM: x86/pmu: Add a helper to enable bits in FIXED_CTR_CTRL
Add a helper, intel_pmu_enable_fixed_counter_bits(), to dedup code that enables fixed counter bits, i.e. when KVM clears bits in the reserved mask used to detect invalid MSR_CORE_PERF_FIXED_CTR_CTRL values. No functional change intended. Cc: Dapeng Mi <dapeng1.mi@linux.intel.com> Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Link: https://lore.kernel.org/r/20240608000819.3296176-1-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions