All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: x86: Enabling PMU v3 on non-SMT VMs
@ 2014-08-20 10:25 Nadav Amit
  2014-08-20 10:25 ` [PATCH 1/2] KVM: x86: Clarify PMU related features bit manipulation Nadav Amit
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nadav Amit @ 2014-08-20 10:25 UTC (permalink / raw)
  To: pbonzini; +Cc: gleb, hpa, joro, mingo, kvm, Nadav Amit

This patch-set enables PMU v3 on non-SMT VMs. All the PMU v3 features are
already in KVM except the AnyThread support.  However, AnyThread is only
important on SMT machines, and can be ignored otherwise. Reporting PMU v3 can
be useful for OSes that rely on the version, and not on other CPUID fields.

Thanks for reviewing the code. Note that it was not tested on AMD machine.

Nadav Amit (2):
  KVM: x86: Clarify PMU related features bit manipulation
  KVM: x86: pmu: Enabling PMU v3

 arch/x86/include/asm/kvm_host.h |  1 +
 arch/x86/kvm/cpuid.c            |  2 +-
 arch/x86/kvm/pmu.c              | 35 +++++++++++++++++++++++------------
 arch/x86/kvm/svm.c              | 15 +++++++++++++++
 arch/x86/kvm/vmx.c              | 16 ++++++++++++++++
 5 files changed, 56 insertions(+), 13 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-20 11:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 10:25 [PATCH 0/2] KVM: x86: Enabling PMU v3 on non-SMT VMs Nadav Amit
2014-08-20 10:25 ` [PATCH 1/2] KVM: x86: Clarify PMU related features bit manipulation Nadav Amit
2014-08-20 10:25 ` [PATCH 2/2] KVM: x86: pmu: Enabling PMU v3 Nadav Amit
2014-08-20 11:01 ` [PATCH 0/2] KVM: x86: Enabling PMU v3 on non-SMT VMs Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.