diff options
author | Like Xu <likexu@tencent.com> | 2023-03-10 12:33:49 +0100 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-04-07 18:07:41 +0200 |
commit | 4fa5843d81fdce9ba7e03f8a666e2f8e592aec2b (patch) | |
tree | a55d6de03ccf2bd0eae4148e509a95a4d51fd147 /arch/x86/kvm/svm/pmu.c | |
parent | KVM: x86/pmu: Rewrite reprogram_counters() to improve performance (diff) | |
download | linux-4fa5843d81fdce9ba7e03f8a666e2f8e592aec2b.tar.xz linux-4fa5843d81fdce9ba7e03f8a666e2f8e592aec2b.zip |
KVM: x86/pmu: Fix a typo in kvm_pmu_request_counter_reprogam()
Fix a "reprogam" => "reprogram" typo in kvm_pmu_request_counter_reprogam().
Fixes: 68fb4757e867 ("KVM: x86/pmu: Defer reprogram_counter() to kvm_pmu_handle_event()")
Signed-off-by: Like Xu <likexu@tencent.com>
Link: https://lore.kernel.org/r/20230310113349.31799-1-likexu@tencent.com
[sean: trim the changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm/svm/pmu.c')
-rw-r--r-- | arch/x86/kvm/svm/pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm/pmu.c b/arch/x86/kvm/svm/pmu.c index cc77a0681800..5fa939e411d8 100644 --- a/arch/x86/kvm/svm/pmu.c +++ b/arch/x86/kvm/svm/pmu.c @@ -161,7 +161,7 @@ static int amd_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info) data &= ~pmu->reserved_bits; if (data != pmc->eventsel) { pmc->eventsel = data; - kvm_pmu_request_counter_reprogam(pmc); + kvm_pmu_request_counter_reprogram(pmc); } return 0; } |