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

Frank Heimes 1960119 at bugs.launchpad.net
Mon Jul 4 10:40:40 UTC 2022


Many thx Thomas for the verification!
(I'm adjusting the tags accordingly ...)

** Changed in: s390-tools-signed (Ubuntu Kinetic)
       Status: Fix Committed => Fix Released

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
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 Committed
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:
  New
Status in s390-tools-signed source package in Focal:
  New
Status in s390-tools source package in Impish:
  New
Status in s390-tools-signed source package in Impish:
  New
Status in s390-tools source package in Jammy:
  Fix Committed
Status in s390-tools-signed source package in Jammy:
  Fix Committed
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