Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753555AbbGBOyN (ORCPT ); Thu, 2 Jul 2015 10:54:13 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:37958 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753302AbbGBOx4 (ORCPT ); Thu, 2 Jul 2015 10:53:56 -0400 From: Boris Ostrovsky To: david.vrabel@citrix.com, konrad.wilk@oracle.com Cc: dietmar.hahn@ts.fujitsu.com, jbeulich@suse.com, kevin.tian@intel.com, xen-devel@lists.xen.org, linux-kernel@vger.kernel.org, boris.ostrovsky@oracle.com Subject: [PATCH v5 0/6] xen/PMU: PMU support for Xen PV(H) guests Date: Thu, 2 Jul 2015 10:53:30 -0400 Message-Id: <1435848816-3323-1-git-send-email-boris.ostrovsky@oracle.com> X-Mailer: git-send-email 1.8.1.4 X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2350 Lines: 52 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/