]> Gentwo Git Trees - linux/.git/commit
s390/pai_crypto: Make pai_root per-PMU and unify naming
authorThomas Richter <tmricht@linux.ibm.com>
Wed, 5 Nov 2025 14:38:59 +0000 (15:38 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 14 Nov 2025 10:30:07 +0000 (11:30 +0100)
commit35a27bad075d594ebaabc62f94b665fa2a135433
treec1cd03f6a4db52a75e5146b7601e7ab8a04e9b2a
parentf12473541356f5765e4130a7b5af77862a872a51
s390/pai_crypto: Make pai_root per-PMU and unify naming

Prepare the common PAI PMU driver to handle multiple PMUs.

Convert pai_root into an array indexed by PAI_PMU_IDX(event)
so that per-CPU state becomes per-PMU. Adjust all call sites
accordingly. Rename KMSG_COMPONENT and the s390dbf buffer from
"pai_crypto" to "pai" for consistent naming.

No functional change intended beyond log identifiers.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Jan Polensky <japo@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/perf_pai_crypto.c