From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161074AbbEVPbK (ORCPT ); Fri, 22 May 2015 11:31:10 -0400 Received: from mga02.intel.com ([134.134.136.20]:6200 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932124AbbEVPbH (ORCPT ); Fri, 22 May 2015 11:31:07 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,476,1427785200"; d="scan'208";a="733795094" From: Alexander Shishkin To: Peter Zijlstra , Ingo Molnar Cc: linux-kernel@vger.kernel.org, Paul Mackerras , adrian.hunter@intel.com, x86@kernel.org, hpa@zytor.com, acme@infradead.org, Alexander Shishkin Subject: [PATCH v1 0/7] perf/x86/intel/pt: Fixes and cleanups Date: Fri, 22 May 2015 18:30:19 +0300 Message-Id: <1432308626-18845-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 and Ingo, I'm resending the previously posted PT fixes along with two more that I produced since. One new fix (1/7) is for the perf ring buffer code to make sure user only gets a single chunk high-order allocation for overwrite mode on PMUs that don't support hardware scatter lists, such as some versions of Intel PT. Another not-entirely-trivial patch (3/7) fixes an issue with multientry ToPA PT implementations that causes bigger data loss than it actually has to be, which was due to stop and interrupt markers being misplaced in the buffer, preventing a timely consumer wakeup. The rest of the patches are trivial fixes or documentation updates. These are against tip/perf/urgent. Alexander Shishkin (7): perf: Disallow sparse AUX allocations for non-SG PMUs in overwrite mode perf/x86/intel/pt: Kill an unused variable perf/x86/intel/pt: Untangle pt_buffer_reset_markers() perf/x86/intel/pt: Document pt_buffer_reset_markers() perf/x86/intel/pt: Document pt_buffer_reset_offsets() perf/x86/intel/pt: Kill pt_is_running() perf/x86/intel/pt: Remove an extra variable declaration arch/x86/kernel/cpu/perf_event_intel_pt.c | 72 ++++++++++++++++++------------- kernel/events/ring_buffer.c | 14 ++++++ 2 files changed, 55 insertions(+), 31 deletions(-) -- 2.1.4