Skip to content

perf/x86/pebs: various important fixes for PEBS

Stephane Eranian lkml stable 1 version Applied

Status from this message: applied to his tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 24 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3perf/x86/intel: add definition for PT PMI bitarch/x86/include/asm/perf_event.h+1 -00 replies
2/3perf/x86/pebs: add workaround for broken OVFL status on HSWarch/x86/events/intel/core.c+10 -024 replies
3/3perf/x86/pebs: add proper PEBS constraints for Broadwellarch/x86/events/intel/core.c arch/x86/events/intel/ds.c+25 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] perf/x86/pebs: various important fixes for PEBS

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(-)
Signature · 1 line
2.5.0