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

Reply via email to