Activity log for bug #1881096

Date Who What changed Old value New value Message
2020-05-28 09:49:25 bugproxy bug added bug
2020-05-28 09:49:27 bugproxy tags architecture-s39064 bugnameltc-185899 severity-medium targetmilestone-inin2004
2020-05-28 09:49:28 bugproxy attachment added s390/cpum_cf: Add new extended counters for IBM z15 https://bugs.launchpad.net/bugs/1881096/+attachment/5377755/+files/0001-s390-cpum_cf-Add-new-extended-counters-for-IBM-z15.patch
2020-05-28 09:49:29 bugproxy attachment added perf vendor events s390: Add new deflate counters for IBM z15 https://bugs.launchpad.net/bugs/1881096/+attachment/5377756/+files/0001-perf-vendor-events-s390-Add-new-deflate-counters-for.patch
2020-05-28 09:49:31 bugproxy ubuntu: assignee Skipper Bug Screeners (skipper-screen-team)
2020-05-28 09:49:34 bugproxy affects ubuntu linux (Ubuntu)
2020-05-28 09:55:20 Heinz-Werner Seeck summary Deflate counters reported by lscpumf are not valid or available with perf [UBUNTU 20.04] Deflate counters reported by lscpumf are not valid or available with perf
2020-05-28 10:00:34 Frank Heimes bug task added ubuntu-z-systems
2020-05-28 10:04:05 Frank Heimes ubuntu-z-systems: assignee Skipper Bug Screeners (skipper-screen-team)
2020-05-28 10:04:21 Frank Heimes linux (Ubuntu): assignee Skipper Bug Screeners (skipper-screen-team) Canonical Kernel Team (canonical-kernel-team)
2020-05-28 10:04:27 Frank Heimes ubuntu-z-systems: importance Undecided Medium
2020-05-28 10:04:42 Frank Heimes bug added subscriber Terry Rudd
2020-05-28 10:04:58 Frank Heimes bug added subscriber Canonical Kernel Team
2020-06-04 21:17:01 Terry Rudd nominated for series Ubuntu Focal
2020-06-04 21:17:01 Terry Rudd bug task added linux (Ubuntu Focal)
2020-06-24 20:14:11 Frank Heimes description ---Problem Description--- ubuntu 20.04: perf on z15: some counters reported with lscpumf are not usable with perf stat -e ---uname output--- Linux ubu204 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:57:22 UTC 2020 s390x s390x s390x GNU/Linux Machine Type = z15 8561 ---Steps to Reproduce--- lscpumf -c gives a list of available counters, but a few of them are not usable: DFLT_ACCESS,DFLT_CYCLES,DFLT_CC,DFLT_CCERROR perf list is also not offering these counters. A solution will be a backport to 20.04, and tried to made available for next SRU , code needed before 06-12. Addl Info from Dev: I have downloaded the following repository https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal and checked out branch master-next. Both patches appended apply without warning and the compilation showed no error. For the perf tool: e7950166e40271c02 perf vendor events s390: Add new deflate counters for IBM z15 For the s390 kernel d68d5d51dc898895b s390/cpum_cf: Add new extended counters for IBM z15 All accepted for kernel 5.7 rc1 Please include both patches into Ubuntu 20.04 SRU Justification: ================== [Impact] * With perf from Ubuntu 20.04 on IBM z15 hardware, some counters reported with lscpumf are not usable with 'perf stat -e'. * 'lscpumf -c' provides a list of available counters, but the following are not usable: DFLT_ACCESS, DFLT_CYCLES, DFLT_CC, DFLT_CCERROR * 'perf list' is also not offering these counters. * On the kernel side this is fixed with the following upstream accepted commit: [Fix] * d68d5d51dc898895b4e15bea52e5668ca9e76180 d68d5d51dc898895b "s390/cpum_cf: Add new extended counters for IBM z15" [Test Case] * Requires the fix/patch of the perf tool, as mentioned in the bug, too. * An IBM z15 (or LinuxONE III) system with Ubuntu 20.04 installed in LPAR is needed where the counters are enabled in the activation profile. * Use 'perf list' to determine if the counters DFLT_ACCESS, DFLT_CYCLES, DFLT_CC, DFLT_CCERROR are listed * Use 'perf stat -e' to enable amd make use of these counters. [Regression Potential] * The regression can be considered as low, since: * it's architecture specific (s390x) * limited to IBM z15 hardware * and only additional (s390x) hardware counters are defined and added. [Other] * This requires a patch to be included into the perf itself, too - please see bug description for more details. * Since this patch is upstream in kernel 5.7 it will automatically land in groovy. __________ ---Problem Description--- ubuntu 20.04: perf on z15: some counters reported with lscpumf are not usable with perf stat -e ---uname output--- Linux ubu204 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:57:22 UTC 2020 s390x s390x s390x GNU/Linux Machine Type = z15 8561 ---Steps to Reproduce---  lscpumf -c gives a list of available counters, but a few of them are not usable: DFLT_ACCESS,DFLT_CYCLES,DFLT_CC,DFLT_CCERROR perf list is also not offering these counters. A solution will be a backport to 20.04, and tried to made available for next SRU , code needed before 06-12. Addl Info from Dev: I have downloaded the following repository https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal and checked out branch master-next. Both patches appended apply without warning and the compilation showed no error. For the perf tool: e7950166e40271c02 perf vendor events s390: Add new deflate counters for IBM z15 For the s390 kernel d68d5d51dc898895b s390/cpum_cf: Add new extended counters for IBM z15 All accepted for kernel 5.7 rc1 Please include both patches into Ubuntu 20.04
2020-06-24 20:14:50 Frank Heimes linux (Ubuntu Focal): status New In Progress
2020-06-24 20:14:58 Frank Heimes linux (Ubuntu): status New In Progress
2020-06-24 20:15:06 Frank Heimes ubuntu-z-systems: status New In Progress
2020-08-03 20:21:49 Kelsey Steele linux (Ubuntu Focal): status In Progress Fix Committed
2020-08-04 05:56:16 Frank Heimes linux (Ubuntu): status In Progress Fix Committed
2020-08-04 05:56:20 Frank Heimes ubuntu-z-systems: status In Progress Fix Committed
2020-08-10 14:17:30 Ubuntu Kernel Bot tags architecture-s39064 bugnameltc-185899 severity-medium targetmilestone-inin2004 architecture-s39064 bugnameltc-185899 severity-medium targetmilestone-inin2004 verification-needed-focal
2020-08-11 14:34:21 Frank Heimes tags architecture-s39064 bugnameltc-185899 severity-medium targetmilestone-inin2004 verification-needed-focal architecture-s39064 bugnameltc-185899 severity-medium targetmilestone-inin2004 verification-done-focal
2020-08-27 13:59:42 Frank Heimes linux (Ubuntu Focal): status Fix Committed Fix Released
2020-09-03 10:59:39 Frank Heimes linux (Ubuntu): status Fix Committed Fix Released
2020-09-03 10:59:43 Frank Heimes ubuntu-z-systems: status Fix Committed Fix Released