]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/pai_ext: Enable per-task counting event
authorThomas Richter <tmricht@linux.ibm.com>
Mon, 15 Apr 2024 12:50:52 +0000 (14:50 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 7 Jun 2024 14:49:08 +0000 (16:49 +0200)
commit3f9ff4c5a073294131818a26d1ac2b77b7104695
tree5db28b73161f80ed1dcd777fc0178b7d0fb21ba5
parent14e3768435da557079216f51d774165c70aad9b1
s390/pai_ext: Enable per-task counting event

The PMU for PAI NNPA counters enforces the following restriction:

 - No per-task context for PAI NNPA counters.

This restriction is removed. One or more per-task/system-wide counting
events can now be active at the same time while 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