public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] perf/x86/amd: Miscellaneous fixes
@ 2024-01-02  6:01 Sandipan Das
  2024-01-02  6:01 ` [PATCH v2 1/3] perf/x86/amd/lbr: Use freeze based on availability Sandipan Das
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sandipan Das @ 2024-01-02  6:01 UTC (permalink / raw)
  To: linux-perf-users, linux-kernel
  Cc: x86, peterz, mingo, acme, mark.rutland, alexander.shishkin, jolsa,
	namhyung, adrian.hunter, tglx, bp, eranian, irogers,
	mario.limonciello, ravi.bangoria, ananth.narayan, sandipan.das

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:
v1: https://lore.kernel.org/all/cover.1702833179.git.sandipan.das@amd.com/

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-02 10:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-02  6:01 [PATCH v2 0/3] perf/x86/amd: Miscellaneous fixes Sandipan Das
2024-01-02  6:01 ` [PATCH v2 1/3] perf/x86/amd/lbr: Use freeze based on availability Sandipan Das
2024-01-02 10:34   ` Borislav Petkov
2024-01-02  6:01 ` [PATCH v2 2/3] perf/x86/amd/lbr: Discard erroneous branch entries Sandipan Das
2024-01-02  6:01 ` [PATCH v2 3/3] perf/x86/amd/core: Avoid register reset when CPU is dead Sandipan Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox