Skip to content

perf/x86/amd: Miscellaneous fixes

Sandipan Das linux-perf-users lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v23 patches 1 replySuperseded
  3. v13 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- As suggested by Boris, update the commit message of the first patch with the reason behind making the LBR and PMC Freeze feature bit visible in /proc/cpuinfo.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf/x86/amd/lbr: Use freeze based on availabilityarch/x86/events/amd/core.c arch/x86/events/amd/lbr.c arch/x86/include/asm/cpufeatures.h +1 more+14 -92 replies
2/3perf/x86/amd/lbr: Discard erroneous branch entriesarch/x86/events/amd/lbr.c+4 -20 replies
3/3perf/x86/amd/core: Avoid register reset when CPU is deadarch/x86/events/amd/core.c+0 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/3] perf/x86/amd: Miscellaneous fixes

Contains fixes w.r.t usage of LBR Freeze, Erratum 1452 and a bug in the CPU offline path where PMU-related registers are reset.

Previous versions can be found at:
v2: https://lore.kernel.org/all/[email protected]/
v1: https://lore.kernel.org/all/[email protected]/

Changes in v3:
- As suggested by Boris, update the commit message of the first patch with the reason behind making the LBR and PMC Freeze feature bit visible in /proc/cpuinfo.

Changes in v2:
- Make the LBR and PMC Freeze feature bit visible in /proc/cpuinfo. As suggested by Stephane, this will be useful to determine if it is feasible to perform kernel FDO on a system.

Sandipan Das (3):
perf/x86/amd/lbr: Use freeze based on availability perf/x86/amd/lbr: Discard erroneous branch entries perf/x86/amd/core: Avoid register reset when CPU is dead

 arch/x86/events/amd/core.c         |  5 ++---
 arch/x86/events/amd/lbr.c          | 22 ++++++++++++++--------
 arch/x86/include/asm/cpufeatures.h |  2 +-
 arch/x86/kernel/cpu/scattered.c    |  1 +
 4 files changed, 18 insertions(+), 12 deletions(-)
Signature · 1 line
2.34.1