[PATCH v2 0/8] perf tools amd ibs: Fixes + Zen6 enhancements
From: Ravi Bangoria
Date: Thu Apr 30 2026 - 02:12:52 EST
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@xxxxxxx
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