[GIT PULL] KVM: x86: PMU changes for 6.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



KVM x86/pmu changes for 6.5.  The highlight is also the only line item: support
for AMD PerfMonV2. 

The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f:

  KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400)

are available in the Git repository at:

  https://github.com/kvm-x86/linux.git tags/kvm-x86-pmu-6.5

for you to fetch changes up to 94cdeebd82111d7b7da5bd4da053eed9e0f65d72:

  KVM: x86/cpuid: Add AMD CPUID ExtPerfMonAndDbg leaf 0x80000022 (2023-06-06 17:31:44 -0700)

----------------------------------------------------------------
KVM x86/pmu changes for 6.5:

 - Add support for AMD PerfMonV2, with a variety of cleanups and minor fixes
   included along the way

----------------------------------------------------------------
Like Xu (11):
      KVM: x86/pmu: Move reprogram_counters() to pmu.h
      KVM: x86/pmu: Reject userspace attempts to set reserved GLOBAL_STATUS bits
      KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86
      KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 code
      KVM: x86: Explicitly zero cpuid "0xa" leaf when PMU is disabled
      KVM: x86/pmu: Disable vPMU if the minimum num of counters isn't met
      KVM: x86/pmu: Advertise PERFCTR_CORE iff the min nr of counters is met
      KVM: x86/pmu: Constrain the num of guest counters with kvm_pmu_cap
      KVM: x86/cpuid: Add a KVM-only leaf to redirect AMD PerfMonV2 flag
      KVM: x86/svm/pmu: Add AMD PerfMonV2 support
      KVM: x86/cpuid: Add AMD CPUID ExtPerfMonAndDbg leaf 0x80000022

Sean Christopherson (1):
      KVM: x86/pmu: Rename global_ovf_ctrl_mask to global_status_mask

 arch/x86/include/asm/kvm-x86-pmu-ops.h |  1 -
 arch/x86/include/asm/kvm_host.h        |  2 +-
 arch/x86/kvm/cpuid.c                   | 30 ++++++++++-
 arch/x86/kvm/pmu.c                     | 92 +++++++++++++++++++++++++++++++---
 arch/x86/kvm/pmu.h                     | 56 +++++++++++++++++++--
 arch/x86/kvm/reverse_cpuid.h           |  7 +++
 arch/x86/kvm/svm/pmu.c                 | 68 ++++++++++++++++++-------
 arch/x86/kvm/svm/svm.c                 | 19 +++++--
 arch/x86/kvm/vmx/nested.c              |  4 +-
 arch/x86/kvm/vmx/pmu_intel.c           | 77 +++++-----------------------
 arch/x86/kvm/vmx/vmx.h                 | 12 -----
 arch/x86/kvm/x86.c                     | 10 ++++
 12 files changed, 260 insertions(+), 118 deletions(-)



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux