diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2024-04-15 16:41:23 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-06-07 16:49:08 +0200 |
commit | 582cc1b28e8c8cb25f9a5f2595ca4b6d90737d03 (patch) | |
tree | 158e9ed1b511fecf6e3625a4b6f2861bd89e1fad /arch/s390/kernel/perf_pai_crypto.c | |
parent | 3f9ff4c5a073294131818a26d1ac2b77b7104695 (diff) |
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>
Diffstat (limited to 'arch/s390/kernel/perf_pai_crypto.c')
-rw-r--r-- | arch/s390/kernel/perf_pai_crypto.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/kernel/perf_pai_crypto.c b/arch/s390/kernel/perf_pai_crypto.c index c0b7f5422e5e..95079a289109 100644 --- a/arch/s390/kernel/perf_pai_crypto.c +++ b/arch/s390/kernel/perf_pai_crypto.c @@ -24,8 +24,6 @@ static debug_info_t *cfm_dbg; static unsigned int paicrypt_cnt; /* Size of the mapped counter sets */ /* extracted with QPACI instruction */ -#define PAI_SWLIST(x) (&(x)->hw.tp_list) - DEFINE_STATIC_KEY_FALSE(pai_key); struct pai_userdata { |