Comment 0 for bug 1891454

Revision history for this message
bugproxy (bugproxy) wrote : [UBUNTU 20.04] kernel: s390/cpum_cf,perf: change DFLT_CCERROR counter name

Description: kernel: s390/cpum_cf,perf: change DFLT_CCERROR counter name
Symptom: Counter name CCERROR is misleading.
Problem: 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.
Solution: Rename s390 z15 counter named DFLT_CCERROR to DFLT_CCFINISH
Reproduction: Command # ls /sys/devices/cpum_cf/events/DFLT_CCERROR
               currently succeeds. After this patch has been applied the
               command does not work anymore. The file does not exist
               anymore. Use command
               # ls /sys/devices/cpum_cf/events/DFLT_CCFINISH
               instead.
Upstream-ID: 5ce1a24dd98c00a57a8fa13660648abf7e08e3ef
Component: kernel 5.8

Will be integrated into 20.10 by kernel 5.8 integration.

Backport available for 20.04.
To be checked for 18.04 and 16.04, update will be provided

Here is the backported patch.
The upstream commit id is 3d3af181d370069861a3be94608464e2ff3682e2
("s390/cpum_cf,perf: change DFLT_CCERROR counter name")