[PATCH v5 0/6] xen/PMU: PMU support for Xen PV(H) guests

From: Boris Ostrovsky
Date: Thu Jul 02 2015 - 10:54:16 EST


I haven't posted Linux part of PV(H) VPMU support in a while but now
that (hopefully) the hypervisor part is getting close to be done I
think it's time to post it again.

There are very few differences compared to the last version, mostly due
to updates in shared structures layouts. Patches 1 and 4 have no changes
at all and patch 5 has minor changes due to rebasing so I kept David's
Reviewed-by tag.


Boris Ostrovsky (6):
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

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/Makefile | 2 +-
arch/x86/xen/apic.c | 6 +
arch/x86/xen/enlighten.c | 13 +-
arch/x86/xen/pmu.c | 572 +++++++++++++++++++++++++
arch/x86/xen/pmu.h | 15 +
arch/x86/xen/smp.c | 29 +-
arch/x86/xen/suspend.c | 23 +-
drivers/xen/Kconfig | 8 +
drivers/xen/sys-hypervisor.c | 127 ++++++
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 ++++
19 files changed, 1208 insertions(+), 10 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/