xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] VPMU management update
@ 2017-02-22 18:24 Boris Ostrovsky
  2017-02-22 18:24 ` [PATCH v3 1/2] x86/vpmu: Add get/put_vpmu() and VPMU_AVAILABLE Boris Ostrovsky
  2017-02-22 18:24 ` [PATCH v3 2/2] x86/vpmu: Disable VPMU if guest's CPUID indicates no PMU support Boris Ostrovsky
  0 siblings, 2 replies; 9+ messages in thread
From: Boris Ostrovsky @ 2017-02-22 18:24 UTC (permalink / raw)
  To: xen-devel
  Cc: Boris Ostrovsky, andrew.cooper3, kevin.tian, jun.nakajima,
	jbeulich

Changes to how the hypervisor allocates and keeps track of active
VPMUs. The main purpose is to fix vpmu_enabled() reporting but this
also makes VPMU ref counting more consistent.


Boris Ostrovsky (2):
  x86/vpmu: Add get/put_vpmu() and VPMU_AVAILABLE
  x86/vpmu: Disable VPMU if guest's CPUID indicates no PMU support

 xen/arch/x86/cpu/vpmu.c       | 111 ++++++++++++++++++++++++++++--------------
 xen/arch/x86/cpu/vpmu_intel.c |   4 ++
 xen/arch/x86/cpuid.c          |   8 +--
 xen/arch/x86/domain.c         |   5 ++
 xen/arch/x86/domctl.c         |  14 ++++++
 xen/arch/x86/hvm/svm/svm.c    |   5 --
 xen/arch/x86/hvm/vmx/vmx.c    |   5 --
 xen/include/asm-x86/vpmu.h    |   6 ++-
 8 files changed, 106 insertions(+), 52 deletions(-)

-- 
1.8.3.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

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

end of thread, other threads:[~2017-03-01  9:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22 18:24 [PATCH v3 0/2] VPMU management update Boris Ostrovsky
2017-02-22 18:24 ` [PATCH v3 1/2] x86/vpmu: Add get/put_vpmu() and VPMU_AVAILABLE Boris Ostrovsky
2017-02-24 15:38   ` Jan Beulich
2017-02-27  1:41   ` Tian, Kevin
2017-03-01  9:27   ` Jan Beulich
2017-02-22 18:24 ` [PATCH v3 2/2] x86/vpmu: Disable VPMU if guest's CPUID indicates no PMU support Boris Ostrovsky
2017-02-24 15:40   ` Jan Beulich
2017-02-24 16:16     ` Boris Ostrovsky
2017-02-27  1:41   ` Tian, Kevin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).