]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
s390/pai_ext: Update PAI extension 1 counters
authorThomas Richter <tmricht@linux.ibm.com>
Fri, 23 Aug 2024 08:36:50 +0000 (10:36 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 5 Sep 2024 13:17:23 +0000 (15:17 +0200)
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@linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/perf_pai_ext.c

index 6295531b39a209be1e20dadea2b5de0ff2afadae..7f462bef1fc07533b2f4e85937417c7b7cfbca2e 100644 (file)
@@ -635,6 +635,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)