[Bug 1974115] Re: [UBUNTU 22.04] BINUTILS: Adding new platform name IBM z16

Matthias Klose 1974115 at bugs.launchpad.net
Tue Jul 19 10:23:00 UTC 2022


** Changed in: binutils (Ubuntu Kinetic)
       Status: New => Fix Released

** Changed in: binutils (Ubuntu Jammy)
       Status: New => In Progress

** Changed in: binutils (Ubuntu Jammy)
     Assignee: Canonical Foundations Team (canonical-foundations) => Matthias Klose (doko)

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

Title:
  [UBUNTU 22.04] BINUTILS: Adding new platform name IBM z16

Status in Ubuntu on IBM z Systems:
  New
Status in binutils package in Ubuntu:
  Fix Released
Status in binutils source package in Jammy:
  In Progress
Status in binutils source package in Kinetic:
  Fix Released

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

  [Impact]

   * As of today the architectural (level) name 'arch14' is used
     as CPU name for the new IBM z16 system.

   * The real name 'z16' couldn't be used until officially announced.

   * That happened meanwhile, hence we can now add and use the real
  name.

  [Test Plan]

   * Check if the same (proper) opcodes are detected on an IBM z16
     system with and without the patch.
     Since only the identification and name of a z16 system was modified.

   * Or the simplest test is probably to check
     (after having 'binutils' installed on an Ubuntu 22.04 s390x system)
     if not only:
     'as -m64 -march=arch14 --target-help'
     but also:
     'as -m64 -march=z16 --target-help'
     succeeds and leads to the same output.
     (As it does for '-march=arch13' and '-march=arch15'.)

  [Where problems could occur]

   * Issues could happen if the conditional statement that look
     for architectural / CPU name are paired wrongly, since:

   * 'z16' belongs to 'arch14', 'z15' to 'arch13', etc.

   * If these pairs are not handled correctly,
     or the identification is erroneous
     a wrong system might be identified and wrong instructions used etc.

  [Other]

   * This is a hardware enablement SRU to enhance the IBM z16 support.

  __________

  After the announcement support for the official machine name z16 has
  been added to binutils. Please consider picking up the following patch
  from 2.37 branch:

  commit e24d2a2d11008aa363366c1087219f3e3405782a
  (origin/binutils-2_37-branch, 2.37)

      IBM zSystems: Add support for z16 as CPU name.

      So far z16 was identified as arch14. After the machine has been
      announced we can now add the real name.

      (cherry picked from commit 69341966def7f6551bc4452684136831d6a6941c)
      (cherry picked from commit fb4d148004f28494e9fb5d2400a13308d07a7988)

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




More information about the foundations-bugs mailing list