summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-06-08 03:08:19 +0300
committerSean Christopherson <seanjc@google.com>2024-06-11 19:35:58 +0300
commit3b65a692a5c78d597d23a2838e91d7bf8ef49291 (patch)
treed38d44a4b99b977aadd858a08997a03d3bb4d5bc /scripts/generate_rust_analyzer.py
parent75430c412a3139c29404459ab1216a07d1280428 (diff)
downloadlinux-3b65a692a5c78d597d23a2838e91d7bf8ef49291.tar.xz
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