s390/cpum_cf,perf: change DFLT_CCERROR counter name
authorThomas Richter <tmricht@linux.ibm.com>
Fri, 17 Jul 2020 09:27:22 +0000 (11:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:19:39 +0000 (10:19 +0200)
commitbd41890c879884de40aa8b61e34d609db67a4fef
tree63b70afc76f8fa8e9f0c86e3882396cdbe14c71e
parent347e9ea2c26b8ff6fb34d29c3f9700ab334bfee6
s390/cpum_cf,perf: change DFLT_CCERROR counter name

commit 3d3af181d370069861a3be94608464e2ff3682e2 upstream.

Change the counter name DLFT_CCERROR to DLFT_CCFINISH on IBM z15.
This counter counts completed DEFLATE instructions with exit code
0, 1 or 2. Since exit code 0 means success and exit code 1 or 2
indicate errors, change the counter name to avoid confusion.
This counter is incremented each time the DEFLATE instruction
completed regardless if an error was detected or not.

Fixes: d68d5d51dc89 ("s390/cpum_cf: Add new extended counters for IBM z15")
Fixes: e7950166e402 ("perf vendor events s390: Add new deflate counters for IBM z15")
Cc: stable@vger.kernel.org # v5.7
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/perf_cpum_cf_events.c
tools/perf/pmu-events/arch/s390/cf_z15/extended.json