]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/pai_ext: Enable per-task and system-wide sampling event
authorThomas Richter <tmricht@linux.ibm.com>
Mon, 15 Apr 2024 14:41:23 +0000 (16:41 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 7 Jun 2024 14:49:08 +0000 (16:49 +0200)
commit582cc1b28e8c8cb25f9a5f2595ca4b6d90737d03
tree158e9ed1b511fecf6e3625a4b6f2861bd89e1fad
parent3f9ff4c5a073294131818a26d1ac2b77b7104695
s390/pai_ext: Enable per-task and system-wide sampling event

The PMU for PAI NNPA counters enforces the following restriction:

 - No per-task context for PAI sampling event NNPA_ALL
 - No multiple system-wide PAI sampling event NNPA_ALL

Both restrictions are removed. One or more per-task sampling events
are supported. Also one or more system-wide sampling events are
supported.

Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/pai.h
arch/s390/kernel/perf_pai_crypto.c
arch/s390/kernel/perf_pai_ext.c