[18.04 FEAT] Enhanced CPU-MF hardware counters - s390tools part

Bug #1836862 reported by bugproxy
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Dimitri John Ledkov
s390-tools (Ubuntu)
Fix Released
Undecided
Skipper Bug Screeners
Bionic
Fix Released
Undecided
Unassigned
Disco
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * Add more counters to support more hw, i.e. z14 counters.

[Test Case]

 * Test that lscpumf / chcpumf still work
 * Check that additional counters are now available on compatible hw

[Regression Potential]

 * It is a cherrypick from upstream which is already shipped in eoan. All existing counters remain (renamed source file), and csvn-6 counters are added. Otherwise the functionality of using the counters remain the same, thus this is almost dataset change only to match new hardware.

[Other Info]

 * Original bug report.

Enhance the CPU-MF hardware counters for improved HW support .

Addl s390-tools 2.10.0 commit required in addition to the kernel part.

https://github.com/ibm-s390-tools/s390-tools/commit/f110a77b68d46f10cab8847cf73fe92686ae7d11

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-179263 severity-high targetmilestone-inin1804
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
affects: linux (Ubuntu) → s390-tools (Ubuntu)
Revision history for this message
Frank Heimes (fheimes) wrote :

If it should be added to s390-tools bionic, it needs to be added to disco, too - to avoid any regressions during dist-upgrades.
Thanks for sharing the commit ID 'cpumf: Add support for CPU-Measurement Facility counters SVN 6'.

Changed in ubuntu-z-systems:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Dimitri John Ledkov (xnox)
information type: Private → Public
tags: added: id-5d30df094ae5067a13b0d16e
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package s390-tools - 2.10.0-0ubuntu1

---------------
s390-tools (2.10.0-0ubuntu1) eoan; urgency=medium

  * New upstream release LP: #1836862, LP: #1836608

 -- Dimitri John Ledkov <email address hidden> Wed, 31 Jul 2019 23:43:34 -0400

Changed in s390-tools (Ubuntu):
status: New → Fix Released
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Triaged → In Progress
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2019-08-21 07:55 EDT-------
This feature is already integrated into Eoan, now, only bionic is missing...
Many thanks in advance

------- Comment From <email address hidden> 2019-08-21 07:55 EDT-------
I forgot Disco, as prereq for Bionic...

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2019-08-28 08:06 EDT-------
@Xnox: When will the s390-tools part be integrated into s390-tools 2.3.0 for bionic? Many thx in advance

description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello bugproxy, or anyone else affected,

Accepted s390-tools into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/s390-tools/2.8.0-0ubuntu5.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in s390-tools (Ubuntu Disco):
status: New → Fix Committed
tags: added: verification-needed verification-needed-disco
Revision history for this message
Frank Heimes (fheimes) wrote :

After setting up a test disco LPAR with counters enabled in the activation profile I did a verification of the package - more a regression testing, since I only have access to z13 machine.
Anyway, I was able to use and run lscpumf, chcpumf and perf (using the old and then of course the new package from proposed) - I executed some samples and they all looked good, no issues, error or regressions found.
Hence adjusting disco tag ...

tags: added: verification-done-disco
removed: verification-needed-disco
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package s390-tools - 2.8.0-0ubuntu5.1

---------------
s390-tools (2.8.0-0ubuntu5.1) disco; urgency=medium

  * Cherry-pick zcryptstats userspace utility for queriying statistics of
    hardware IBM Crypto Express adapters. LP: #1821918
  * Cherry-pick additional counters support for z14 mainframes in the
    utilities for CPU measurement facilities LP: #1836862

 -- Dimitri John Ledkov <email address hidden> Tue, 03 Sep 2019 11:00:42 +0100

Changed in s390-tools (Ubuntu Disco):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for s390-tools has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in s390-tools (Ubuntu Bionic):
status: New → In Progress
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello bugproxy, or anyone else affected,

Accepted s390-tools into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/s390-tools/2.3.0-0ubuntu3.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in s390-tools (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed-bionic
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello bugproxy, or anyone else affected,

Accepted s390-tools into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/s390-tools/2.3.0-0ubuntu3.5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Frank Heimes (fheimes) wrote :

I've up a test LPAR for bionic with counters and sampling facilities enabled (in the activation profile) and did a verification of the cpumf tools included in the s390-tools package version 2.3.0-0ubuntu3.5 - it's more a regression testing, since I only have access to z13 machine.
Anyway, on the z13 machine I was able to successfully use and run lscpumf, chcpumf and perf - I executed some samples and they all looked good, no issues, error or regressions found.
Hence adjusting bionic tag ...

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2019-10-28 10:13 EDT-------
Also verified by IBM for Bionic....

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package s390-tools - 2.3.0-0ubuntu3.5

---------------
s390-tools (2.3.0-0ubuntu3.5) bionic; urgency=medium

  * Fix zcryptstats build failure.

s390-tools (2.3.0-0ubuntu3.4) bionic; urgency=medium

  * Cherry-pick zcryptstats userspace utility for queriying statistics of
    hardware IBM Crypto Express adapters. LP: #1821918
  * Cherry-pick additional counters support for z14 mainframes in the
    utilities for CPU measurement facilities LP: #1836862

 -- Dimitri John Ledkov <email address hidden> Fri, 25 Oct 2019 12:07:18 +0100

Changed in s390-tools (Ubuntu Bionic):
status: Fix Committed → Fix Released
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2019-11-05 02:21 EDT-------
IBM Bugzilla -> closed, Fix Released by all requested Distros

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.