[Bug 1960119] Comment bridged from LTC Bugzilla

bugproxy 1960119 at bugs.launchpad.net
Fri Aug 26 10:19:50 UTC 2022


------- Comment From TMRICHT at de.ibm.com 2022-08-26 06:18 EDT-------
I have installed U20.04 to this level:
# uname -a
Linux a35lp67 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 14:00:33 UTC 2022 s390x s390x s390x GNU/Linux
r# sb_release -cs
focal
~#

I have this installed the latest s390-tools package from focal-proposed:
# apt list --installed| fgrep s390-tools

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

s390-tools-signed/focal-proposed,now 2.12.0-0ubuntu3.6 s390x [installed,automatic]
s390-tools/focal-proposed,now 2.12.0-0ubuntu3.6 s390x [installed]
#

I can confirm that the s390-tools program lscpumf -c list all z16
extended counters from the extended counter set correctly.

Verification done and successful.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1960119

Title:
  [22.04 FEAT] Add new CPU-MF Counters for new IBM Z Hardware -
  s390-tools part

Status in Ubuntu on IBM z Systems:
  Fix Released
Status in s390-tools package in Ubuntu:
  Fix Released
Status in s390-tools-signed package in Ubuntu:
  Fix Released
Status in s390-tools source package in Focal:
  Fix Committed
Status in s390-tools-signed source package in Focal:
  New
Status in s390-tools source package in Impish:
  Won't Fix
Status in s390-tools-signed source package in Impish:
  Won't Fix
Status in s390-tools source package in Jammy:
  Fix Released
Status in s390-tools-signed source package in Jammy:
  Fix Released
Status in s390-tools source package in Kinetic:
  Fix Released
Status in s390-tools-signed source package in Kinetic:
  Fix Released

Bug description:
  SRU Justification:
  ==================

  [Impact]

   * This in a hardware enablement SRU,

   * and adds support for (new) IBM z16 counters

   * to the s390-tools package.

  [Test Plan]

   * Prepare an IBM z16 LPAR with Ubuntu 20.04, 21.10 or 22.04 (incl.
  this patch).

   * At LPARs activation profile, navigate to the Security page
     and within the counter facility options, select each counter set you want to use.
     (One may just select all for testing purposes.)

   * Use 'perf list' to determine if the new counters are listed.
     For comparing the new counters see:
     https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git\
     /commit/?id=c9311de71635d3eaa158df8516b9b99a92d60a0c

   * Use 'perf stat -e' to enable and make use of these counters.

  [Where problems could occur]

   * The machine type, model or name could be mixed up,
     which may lead to wrong counters for the machines identified.

   * Initialization of the new struct cpumcf_z16_counters could be
  wrong.

   * The hex code for the counters could be wrong or mixed up,
     or the names might be wrong or mixed up,
     in which case one will get wrong or unexpected results.

   * The expansion of the case statement to determine the correct (z16) hardware
     might be wrong, which would lead to potentially counters,
     that may not match to the underlying hardware.

   * The new code may have syntactical errors,
     which would become visible during a test compile.

   * Only new code is added by this commit - none is changed nor
  removed.

  [Other Info]
   
   * The new IBM z16 was announced after jammy feature freeze,
     hence the name and details need to be added now, after the 22.04 release.
  __________

  Add new CPU-MF Counters for new IBM Z Hardware - s390-tools part

  Description:
  Add new CPU-MF Counters for new IBM Z Hardware.

  Has a kernel, s390utils/s390-tools and libpfm part.

  Request Type: Package - Update Version
  Upstream Acceptance: In Progress

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1960119/+subscriptions




More information about the foundations-bugs mailing list