lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 10 Aug 2015 16:34:31 -0400
From:	Boris Ostrovsky <boris.ostrovsky@...cle.com>
To:	david.vrabel@...rix.com, konrad.wilk@...cle.com
Cc:	kevin.tian@...el.com, jbeulich@...e.com,
	dietmar.hahn@...fujitsu.com, stefano.stabellini@...citrix.com,
	julien.grall@...rix.com, xen-devel@...ts.xen.org,
	linux-kernel@...r.kernel.org, boris.ostrovsky@...cle.com
Subject: [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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ