From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758038AbbGQNeb (ORCPT ); Fri, 17 Jul 2015 09:34:31 -0400 Received: from mga09.intel.com ([134.134.136.24]:7273 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757373AbbGQNea (ORCPT ); Fri, 17 Jul 2015 09:34:30 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,496,1432623600"; d="scan'208";a="730743045" From: Alexander Shishkin To: Peter Zijlstra Cc: Ingo Molnar , linux-kernel@vger.kernel.org, adrian.hunter@intel.com, x86@kernel.org, hpa@zytor.com, acme@infradead.org, Alexander Shishkin Subject: [PATCH 0/3] perf/x86/intel/pt: Add new packet enables Date: Fri, 17 Jul 2015 16:34:07 +0300 Message-Id: <1437140050-23363-1-git-send-email-alexander.shishkin@linux.intel.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, There are new PT packets and handles to enable and configure them in the new version if Intel Architecture SDM. This series deals with timing related packets: adds bit definitions, cpuid enumeration and relevant userspace-visible parts. The bulk of work, as usual, is in the tooling, which I don't include in this patchset, since it depends on Adrian's earlier work which is still bouncing between him and the maintainers, but for the sake of completeness I pushed it to my github tree [1] and Adrian is also sending it out for review. So anybody interested in trying the whole thing out can pull it from my tree. This time around, however, there is no compile time dependency between mine and his series, since all the relevant bits are communicated through sysfs. [1] https://github.com/virtuoso/linux-perf/commits/intel_pt Alexander Shishkin (3): perf/x86/intel/pt: Add new timing packet enables perf/x86/intel/pt: Add an option to not force PSB+ on every schedule-in perf/x86/intel/bts: Set itrace_started in pmu::start to match the new logic arch/x86/include/asm/msr-index.h | 8 +++ arch/x86/kernel/cpu/intel_pt.h | 6 +++ arch/x86/kernel/cpu/perf_event.h | 1 + arch/x86/kernel/cpu/perf_event_intel_bts.c | 1 + arch/x86/kernel/cpu/perf_event_intel_pt.c | 78 ++++++++++++++++++++++++++++-- kernel/events/core.c | 2 - 6 files changed, 91 insertions(+), 5 deletions(-) -- 2.1.4