[UBUNTU 20.04] kernel: s390/cpum_cf,perf: changeDFLT_CCERROR counter name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Undecided
|
Skipper Bug Screeners | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Skipper Bug Screeners | ||
Bionic |
Fix Released
|
Medium
|
Frank Heimes | ||
Focal |
Fix Released
|
Medium
|
Frank Heimes | ||
Groovy |
Fix Released
|
Medium
|
Skipper Bug Screeners |
Bug Description
SRU Justification:
==================
[Impact]
* Change the counter name DLFT_CCERROR to DLFT_CCFINISH on IBM z15 to avoid confusion.
* This counter counts completed DEFLATE instructions with exit code 0, 1 or 2.
* And since exit code 0 means success and exit code 1 or 2 indicate errors the name can be ambiguous.
[Fix]
* Rename s390 z15 counter named DFLT_CCERROR to DFLT_CCFINISH.
* Backport Focal: https:/
* Backport Bionic: https:/
[Test Case]
* Enable hardware counters in the activation profile of a z15 LPAR.
* Just check the countername in sysfs with: ls /sys/devices/
[Regression Potential]
* The regression potential can be considered as low, since:
* Counters like these are usually not activated by default and need to be explicitly enabled.
* No code functionality is changed with that patch, only a renaming is done at 3 places in one code file arch/s390/
* The fix got already upstream accepted in 5.8-rc7, hence it got upstream reviewed,
* and the modifications are limited to s390x, are only relevant for the z15 / LinuxONE III hw generation that are relatively new.
* Issue with the renaming I can think of are that people don't know about the new name and may look for the old one and don't find it anymore,
* and with that also if the old counter name is used in scripts or applications, these may fails due to an unknown counter name.
[Other Info]
* The backports are based on commit 3d3af181d370069
* Hence this SRU is not requested for groovy, since it's already in groovys kernel 5.8 in proposed, but only requested for focal and bionic.
__________
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
Solution: Rename s390 z15 counter named DFLT_CCERROR to DFLT_CCFINISH
Reproduction: Command # ls /sys/devices/
# ls /sys/devices/
Upstream-ID: 5ce1a24dd98c00a
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 3d3af181d370069
("s390/
CVE References
no longer affects: | linux (Ubuntu Xenial) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Frank Heimes (fheimes) |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Frank Heimes (fheimes) |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
summary: |
- [UBUNTU 20.04] kernel: s390/cpum_cf,perf: change DFLT_CCERROR counter - name + [UBUNTU 20.04] s390/cpum_cf,perf: change/add DFLT_CCERROR counter name |
summary: |
- [UBUNTU 20.04] s390/cpum_cf,perf: change/add DFLT_CCERROR counter name + [UBUNTU 20.04] kernel: s390/cpum_cf,perf: changeDFLT_CCERROR counter + name |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Groovy): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Groovy): | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
Default Comment by Bridge