[SRU][N][PATCH 0/1] [UBUNTU 24.04] PAI/NNPA support for new IBM z17 (LP: #2121956)

Massimiliano Pellizzer massimiliano.pellizzer at canonical.com
Thu Sep 4 14:35:23 UTC 2025


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

[ Impact ]

Extend the s390 PAI monitoring infrastructure to cover new hardware capabilities
in IBM Z systems.
Add sysfs and perf event names for counters introduced with Message Security
Assist (MSA) 10 and 11, enabling monitoring of new AES-XTS and HMAC-SHA
variants, as well as protected key operations.
Updates the NNPA counter set, adding events for modern AI/ML primitives.

[ Fix ]

Backport the following commits from upstream:
- d414f4ecb240b s390/pai: export number of sysfs attribute files
- 4ae48555d0edc s390/pai_crypto: Add support for MSA 10 and 11 pai counters
- 0114009953c11 s390/pai_ext: Update PAI extension 1 counters

[ Test Plan ]

Run an ubuntu instance on IBM Z hardware that actually supports
MSA 10/11 and the updated NNPA instructions.
Check under /sys/bus/event_source/devices/pai_crypto/events/
and /sys/bus/event_source/devices/pai_ext/events/
to confirm that the new counters are exported.

[ Regression Potential ]

The regression potential of these patches is very low,
since they only extend the PAI crypto and extension event description tables
with new counters for newer IBM Z hardware generations.
Any possible issues would be limited to inaccurate labeling
or unsupported counters being exposed on systems with recent MSA or NNPA
facilities,
with no effect on older IBM Z machines or other architectures.




More information about the kernel-team mailing list