[SRU][N/P][PATCH v2 0/1] [25.04 FEAT] [post announcement] [KRN2304] CPU-MF Counters for new IBM Z hardware - perf part (LP: #2103415)

Massimiliano Pellizzer massimiliano.pellizzer at canonical.com
Mon Sep 8 10:06:02 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2103415

[ Impact ]

perf list: Add IBM z17 event descriptions

Update IBM z17 counter description using document SA23-2260-08:
"The Load-Program-Parameter and the CPU-Measurement Facilities"
released in May 2025 to include counter definitions for IBM z17
counter sets:
* Basic counter set
* Problem/user counter set
* Crypto counter set.

Use document SA23-2261-09:
"The CPU-Measurement Facility Extended Counters Definition
 for z10, z196/z114, zEC12/zBC12, z13/z13s, z14, z15, z16 and z17"
released on April 2025 to include counter definitions for IBM z17
* Extended counter set
* MT-Diagnostic counter set.

Use document SA22-7832-14:
"z/Architecture Principles of Operation."
released in April 2025 to include counter definitions for IBM z17
* PAI-Crypto counter set
* PAI-Extention counter set.

Use document
"CPU MF Formulas and Updates April 2025"
released in April 2025 to include metric calculations.

[ Fix ]

Backport the following upstream commit to Noble and Plucky:
- 508b228942b2 perf list: Add IBM z17 event descriptions

[ Test Plan ]

Boot a z17 instance and verify that z17-specific events appear in perf list:
$ perf list

[ Regression Potential ]

The regression potential of this patch is very low,
since it only adds IBM z17-specific perf event descriptions
without touching core perf or kernel logic.
Any issues would be limited to inaccurate or
unsupported counters on z17 systems,
with no impact on other architectures.

[ Changes between v1 and v2 ]

Jammy patchset dropped since it has been rejected during SRU review.




More information about the kernel-team mailing list