]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/pai_ext: Enable concurrent system-wide counting/sampling
authorThomas Richter <tmricht@linux.ibm.com>
Mon, 15 Apr 2024 12:40:03 +0000 (14:40 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 7 Jun 2024 14:49:07 +0000 (16:49 +0200)
commit14e3768435da557079216f51d774165c70aad9b1
tree55be8d269db5144a9e9bc089c2302ee542c8a53b
parent9f66572f2889a5e72a9d7e17787e52f03b1f7bd8
s390/pai_ext: Enable concurrent system-wide counting/sampling

The PMU for PAI NNPA counters enforces the following restriction:

- No system wide counting while system wide sampling is active.

This restriction is removed. One or more system wide counting events
can now be active at the same time while at most one system wide
sampling event is active.

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/kernel/perf_pai_ext.c