diff options
author | Jim Mattson <jmattson@google.com> | 2023-11-13 10:48:54 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-03 09:00:30 -0700 |
commit | ea19f7d0bf46c70085a2c8a96e3b3ceae1e7ddb8 (patch) | |
tree | 248a4ca3b26dc8c8f4edc4151e7af201b8e1424e /arch/x86 | |
parent | c3f38fa61af77b49866b006939479069cd451173 (diff) | |
download | linux-stable-ea19f7d0bf46c70085a2c8a96e3b3ceae1e7ddb8.tar.gz linux-stable-ea19f7d0bf46c70085a2c8a96e3b3ceae1e7ddb8.tar.bz2 linux-stable-ea19f7d0bf46c70085a2c8a96e3b3ceae1e7ddb8.zip |
KVM: x86: Remove IA32_PERF_GLOBAL_OVF_CTRL from KVM_GET_MSR_INDEX_LIST
This MSR reads as 0, and any host-initiated writes are ignored, so
there's no reason to enumerate it in KVM_GET_MSR_INDEX_LIST.
Signed-off-by: Jim Mattson <jmattson@google.com>
Link: https://lore.kernel.org/r/20231113184854.2344416-1-jmattson@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 082ac6d95a3a..9a3b68366103 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -1470,7 +1470,7 @@ static const u32 msrs_to_save_pmu[] = { MSR_ARCH_PERFMON_FIXED_CTR0, MSR_ARCH_PERFMON_FIXED_CTR1, MSR_ARCH_PERFMON_FIXED_CTR0 + 2, MSR_CORE_PERF_FIXED_CTR_CTRL, MSR_CORE_PERF_GLOBAL_STATUS, - MSR_CORE_PERF_GLOBAL_CTRL, MSR_CORE_PERF_GLOBAL_OVF_CTRL, + MSR_CORE_PERF_GLOBAL_CTRL, MSR_IA32_PEBS_ENABLE, MSR_IA32_DS_AREA, MSR_PEBS_DATA_CFG, /* This part of MSRs should match KVM_INTEL_PMC_MAX_GENERIC. */ |