From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756602AbcCCTu5 (ORCPT ); Thu, 3 Mar 2016 14:50:57 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:36635 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754700AbcCCTu4 (ORCPT ); Thu, 3 Mar 2016 14:50:56 -0500 From: Stephane Eranian To: linux-kernel@vger.kernel.org Cc: acme@redhat.com, peterz@infradead.org, mingo@elte.hu, ak@linux.intel.com, kan.liang@intel.com, jolsa@redhat.com, namhyung@kernel.org, adrian.hunter@intel.com Subject: [PATCH 0/3] perf/x86/pebs: various important fixes for PEBS Date: Thu, 3 Mar 2016 20:50:39 +0100 Message-Id: <1457034642-21837-1-git-send-email-eranian@google.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This short patch series fixes several issues related to PEBS on Haswell and later processors. - The HT corruption bug (HSD29) is fixed on Broadwell, there is no need to mark events 0xd0-0xd3 as exclusive. This was fixed for non-PEBS mode but not for PEBS mode. - On Haswell and later, there is a bug with the GLOBAL_OVF_STATUS bits reporting counter overflows for PEBS events. SDM says it should not but I ran into cases where bits 0-3 were set, causing double processing of the samples and samples missing the EXACT tag. See changelog Tested on Haswell, Broadwell, SkyLake Patch relative to tip.git Stephane Eranian (3): perf/x86/intel: add definition for PT PMI bit perf/x86/pebs: add workaround for broken OVFL status on HSW perf/x86/pebs: add proper PEBS constraints for Broadwell arch/x86/events/intel/core.c | 12 +++++++++++- arch/x86/events/intel/ds.c | 24 ++++++++++++++++++++++++ arch/x86/include/asm/perf_event.h | 1 + 3 files changed, 36 insertions(+), 1 deletion(-) -- 2.5.0