public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RESEND][PATCH v3 0/7] perf/amd/ibs: Add Zen5 support
@ 2025-02-05  6:05 Ravi Bangoria
  2025-02-05  6:05 ` [PATCH v3 1/7] perf/amd/ibs: Add support for OP Load Latency Filtering Ravi Bangoria
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Ravi Bangoria @ 2025-02-05  6:05 UTC (permalink / raw)
  To: peterz, acme, namhyung
  Cc: ravi.bangoria, mingo, eranian, irogers, jolsa, bp, x86,
	linux-kernel, linux-perf-users, santosh.shukla, ananth.narayan,
	sandipan.das

IBS on Zen5:
- introduced Load Latency filtering capability.
- shows DTLB and page size information differently from prior generations.

Incorporate these changes into IBS kernel driver as well as perf tool.
Also include a perf unit-test to test IBS sample period constraints.

Patches are prepared on peterz/queue/perf/core (cffa473a06d2).

v2: https://lore.kernel.org/r/20241218121437.1717-1-ravi.bangoria@amd.com

v2->v3:
 - The patch series to fix IBS sample period computation [1] is picked up
   by Peter except the last patch which added unit test in perf tool.
   Include it in this series instead of sending it independently.
 - No changes otherwise.

[1]: https://lore.kernel.org/r/20250115054438.1021-1-ravi.bangoria@amd.com

Ravi Bangoria (7):
  perf/amd/ibs: Add support for OP Load Latency Filtering
  perf/amd/ibs: Update DTLB/PageSize decode logic
  perf amd ibs: Sync arch/x86/include/asm/amd-ibs.h header with the
    kernel
  perf amd ibs: Add Load Latency bits in raw dump
  perf amd ibs: Incorporate Zen5 DTLB and PageSize information
  perf mem/c2c amd: Add ldlat support
  perf test amd ibs: Add sample period unit test

 arch/x86/events/amd/ibs.c                  | 116 ++-
 arch/x86/include/asm/amd-ibs.h             |   3 +-
 arch/x86/include/asm/perf_event.h          |   4 +
 tools/arch/x86/include/asm/amd-ibs.h       |   3 +-
 tools/perf/Documentation/perf-amd-ibs.txt  |   9 +
 tools/perf/Documentation/perf-c2c.txt      |  10 +-
 tools/perf/Documentation/perf-mem.txt      |  12 +-
 tools/perf/arch/x86/include/arch-tests.h   |   1 +
 tools/perf/arch/x86/tests/Build            |   1 +
 tools/perf/arch/x86/tests/amd-ibs-period.c | 951 +++++++++++++++++++++
 tools/perf/arch/x86/tests/arch-tests.c     |   2 +
 tools/perf/arch/x86/util/mem-events.c      |   6 +
 tools/perf/arch/x86/util/mem-events.h      |   1 +
 tools/perf/arch/x86/util/pmu.c             |  20 +-
 tools/perf/tests/shell/test_data_symbol.sh |  29 +-
 tools/perf/util/amd-sample-raw.c           |  77 +-
 tools/perf/util/pmu.c                      |  11 +
 tools/perf/util/pmu.h                      |   2 +
 18 files changed, 1224 insertions(+), 34 deletions(-)
 create mode 100644 tools/perf/arch/x86/tests/amd-ibs-period.c

-- 
2.43.0


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

end of thread, other threads:[~2025-02-19 13:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-05  6:05 [RESEND][PATCH v3 0/7] perf/amd/ibs: Add Zen5 support Ravi Bangoria
2025-02-05  6:05 ` [PATCH v3 1/7] perf/amd/ibs: Add support for OP Load Latency Filtering Ravi Bangoria
2025-02-19 11:01   ` [tip: perf/core] " tip-bot2 for Ravi Bangoria
2025-02-05  6:05 ` [PATCH v3 2/7] perf/amd/ibs: Update DTLB/PageSize decode logic Ravi Bangoria
2025-02-19 11:01   ` [tip: perf/core] " tip-bot2 for Ravi Bangoria
2025-02-05  6:05 ` [PATCH v3 3/7] perf amd ibs: Sync arch/x86/include/asm/amd-ibs.h header with the kernel Ravi Bangoria
2025-02-19 11:01   ` [tip: perf/core] " tip-bot2 for Ravi Bangoria
2025-02-05  6:05 ` [PATCH v3 4/7] perf amd ibs: Add Load Latency bits in raw dump Ravi Bangoria
2025-02-05  6:05 ` [PATCH v3 5/7] perf amd ibs: Incorporate Zen5 DTLB and PageSize information Ravi Bangoria
2025-02-05  6:05 ` [PATCH v3 6/7] perf mem/c2c amd: Add ldlat support Ravi Bangoria
2025-02-05  6:05 ` [PATCH v3 7/7] perf test amd ibs: Add sample period unit test Ravi Bangoria
2025-02-17  8:30 ` [RESEND][PATCH v3 0/7] perf/amd/ibs: Add Zen5 support Ravi Bangoria
2025-02-17 14:24   ` Peter Zijlstra
2025-02-19 13:52     ` Ravi Bangoria

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