Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH v2 0/8] perf tools amd ibs: Fixes + Zen6 enhancements
@ 2026-04-30  6:11 Ravi Bangoria
  2026-04-30  6:11 ` [PATCH v2 1/8] perf test amd ibs: Fix incorrect kernel version check Ravi Bangoria
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Ravi Bangoria @ 2026-04-30  6:11 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Namhyung Kim, Ian Rogers
  Cc: Ravi Bangoria, Peter Zijlstra, Ingo Molnar, Dapeng Mi,
	James Clark, x86, linux-perf-users, linux-kernel, Manali Shukla,
	Santosh Shukla, Ananth Narayan, Sandipan Das

o Fix kernel version check in perf IBS unit test.
o Drop perf unit test that assumes IBS don't have hardware-assisted
  privilege filter. This is now supported.
o Starting with Zen4, the validity of several IBS fields changes. Add
  the required dependency checks when decoding IBS MSRs.
o Zen6 and future platforms extends IBS OP with Streaming-Store and
  Remote-Socket indicators for load/store instructions. Add decoding
  support for these new bits.
o Document new IBS features in perf-amd-ibs man page 

IBS Zen6 enhancements doc:
  AMD64 Zen6 Instruction Based Sampling (IBS) Extensions and Features,
  Pub. 69205 Rev. 1.00 March 2026 
  https://bugzilla.kernel.org/attachment.cgi?id=310002

Patches are prepared on perf-tools-next/perf-tools-next (841dbf4871c5).

v1: https://lore.kernel.org/r/20260119024328.897-1-ravi.bangoria@amd.com 
v1->v2:
 - Patch #1 (kernel version check) and #8 (perf doc update) are new.
 - Rebased the series on latest perf-tools-next/perf-tools-next.

Ravi Bangoria (8):
  perf test amd ibs: Fix incorrect kernel version check
  perf tool ibs: Sync AMD IBS header file
  perf test ibs: Remove obsolete privilege test
  perf amd ibs: Suppress bogus TlbRefillLat and DCPhysAd on Zen4+
  perf amd ibs: Make Fetch status bits dependent on PhyAddrValid for
    newer platforms
  perf amd ibs: Decode Remote-Socket flag in IBS OP raw dump
  perf amd ibs: Decode Streaming-store flag in IBS OP raw dump
  perf doc: Document new IBS capabilities in man page

 tools/arch/x86/include/asm/amd/ibs.h       |  4 +-
 tools/perf/Documentation/perf-amd-ibs.txt  | 39 ++++++++++
 tools/perf/arch/x86/tests/amd-ibs-period.c |  2 +-
 tools/perf/tests/shell/amd-ibs-swfilt.sh   |  7 --
 tools/perf/util/amd-sample-raw.c           | 87 ++++++++++++++++++++--
 5 files changed, 123 insertions(+), 16 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-05-08  6:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30  6:11 [PATCH v2 0/8] perf tools amd ibs: Fixes + Zen6 enhancements Ravi Bangoria
2026-04-30  6:11 ` [PATCH v2 1/8] perf test amd ibs: Fix incorrect kernel version check Ravi Bangoria
2026-04-30  6:11 ` [PATCH v2 2/8] perf tool ibs: Sync AMD IBS header file Ravi Bangoria
2026-04-30  6:11 ` [PATCH v2 3/8] perf test ibs: Remove obsolete privilege test Ravi Bangoria
2026-05-08  0:24   ` Namhyung Kim
2026-05-08  6:05     ` Ravi Bangoria
2026-04-30  6:11 ` [PATCH v2 4/8] perf amd ibs: Suppress bogus TlbRefillLat and DCPhysAd on Zen4+ Ravi Bangoria
2026-04-30  6:11 ` [PATCH v2 5/8] perf amd ibs: Make Fetch status bits dependent on PhyAddrValid for newer platforms Ravi Bangoria
2026-04-30  6:11 ` [PATCH v2 6/8] perf amd ibs: Decode Remote-Socket flag in IBS OP raw dump Ravi Bangoria
2026-04-30  6:11 ` [PATCH v2 7/8] perf amd ibs: Decode Streaming-store " Ravi Bangoria
2026-04-30  6:11 ` [PATCH v2 8/8] perf doc: Document new IBS capabilities in man page Ravi Bangoria

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