[SRU][N][PATCH 3/3] s390/pai_ext: Update PAI extension 1 counters
Massimiliano Pellizzer
massimiliano.pellizzer at canonical.com
Thu Sep 4 14:35:27 UTC 2025
From: Thomas Richter <tmricht at linux.ibm.com>
BugLink: https://bugs.launchpad.net/bugs/2121956
Update the internal array of PAI extension 1 NNPA
counter string table to support specialized processor
instrumentation assist instructions.
Signed-off-by: Thomas Richter <tmricht at linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk at linux.ibm.com>
Signed-off-by: Heiko Carstens <hca at linux.ibm.com>
(cherry picked from commit 0114009953c119021870c42c778b251440a93844)
Signed-off-by: Massimiliano Pellizzer <massimiliano.pellizzer at canonical.com>
---
arch/s390/kernel/perf_pai_ext.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/s390/kernel/perf_pai_ext.c b/arch/s390/kernel/perf_pai_ext.c
index cf266797e2c1a..9a4dc2a69399d 100644
--- a/arch/s390/kernel/perf_pai_ext.c
+++ b/arch/s390/kernel/perf_pai_ext.c
@@ -568,6 +568,15 @@ static const char * const paiext_ctrnames[] = {
[25] = "NNPA_1MFRAME",
[26] = "NNPA_2GFRAME",
[27] = "NNPA_ACCESSEXCEPT",
+ [28] = "NNPA_TRANSFORM",
+ [29] = "NNPA_GELU",
+ [30] = "NNPA_MOMENTS",
+ [31] = "NNPA_LAYERNORM",
+ [32] = "NNPA_MATMUL_OP_BCAST1",
+ [33] = "NNPA_SQRT",
+ [34] = "NNPA_INVSQRT",
+ [35] = "NNPA_NORM",
+ [36] = "NNPA_REDUCE",
};
static void __init attr_event_free(struct attribute **attrs, int num)
--
2.48.1
More information about the kernel-team
mailing list