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

[Xen-devel] [PATCH v7 0/7] xen/PMU: PMU support for Xen PV(H) guests



Changes in v7:
* Added patch 7 to prevent passing CR4's PCE bit to the hypervisor.
* Replaced WARN_ONCE()s with pr_warn_once() since stacks/registers are not
  especially interesting at those sites (and because other places use pr_()
  routines too) (patches 3 and 6)
* Made xensyms_next_sym return proper error code (patch 1)
* Dropped perf_unregister_guest_info_callbacks in xen_pmu_init()'s error path
  since it's unsafe (patch 3)
* A few small style corrections (patch 3 mostly)

Changes in v6:
* Fix ARM builds (as suggested by Julien):
  o Make XEN_SYMS depend on X86 (patch 1)
  o Add CONFIG_XEN_HAVE_PVMMU and use it in drivers/xen/sys-hypervisor.c
    (patch 2)
* Adjust release dates in Documentation/ABI/testing/sysfs-hypervisor-pmu
  (patch 2)


Boris Ostrovsky (7):
  xen: xensyms support
  xen/PMU: Sysfs interface for setting Xen PMU mode
  xen/PMU: Initialization code for Xen PMU
  xen/PMU: Describe vendor-specific PMU registers
  xen/PMU: Intercept PMU-related MSR and APIC accesses
  xen/PMU: PMU emulation code
  xen/x86: Don't try to set PCE bit in CR4

 Documentation/ABI/testing/sysfs-hypervisor-pmu |  23 +
 arch/x86/include/asm/xen/hypercall.h           |   6 +
 arch/x86/include/asm/xen/interface.h           | 123 ++++++
 arch/x86/xen/Kconfig                           |   1 +
 arch/x86/xen/Makefile                          |   2 +-
 arch/x86/xen/apic.c                            |   6 +
 arch/x86/xen/enlighten.c                       |  16 +-
 arch/x86/xen/pmu.c                             | 570 +++++++++++++++++++++++++
 arch/x86/xen/pmu.h                             |  15 +
 arch/x86/xen/smp.c                             |  29 +-
 arch/x86/xen/suspend.c                         |  23 +-
 drivers/xen/Kconfig                            |  11 +
 drivers/xen/sys-hypervisor.c                   | 136 +++++-
 drivers/xen/xenfs/Makefile                     |   1 +
 drivers/xen/xenfs/super.c                      |   3 +
 drivers/xen/xenfs/xenfs.h                      |   1 +
 drivers/xen/xenfs/xensyms.c                    | 152 +++++++
 include/xen/interface/platform.h               |  18 +
 include/xen/interface/xen.h                    |   2 +
 include/xen/interface/xenpmu.h                 |  94 ++++
 20 files changed, 1219 insertions(+), 13 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-hypervisor-pmu
 create mode 100644 arch/x86/xen/pmu.c
 create mode 100644 arch/x86/xen/pmu.h
 create mode 100644 drivers/xen/xenfs/xensyms.c
 create mode 100644 include/xen/interface/xenpmu.h

-- 
1.8.1.4


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.