[BUG] CPU speed missing on IBM Machine 8561 (IBM/s390x architecture)

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

Fastfetch doesn't show CPU speed of IBM Machine 8561 mainframe. Here is output of fastfetch:

Image

And JSON output:

  {
    "type": "CPU",
    "result": {
      "cpu": "Machine 8561",
      "vendor": "IBM/S390",
      "packages": 2,
      "cores": {
        "physical": 2,
        "logical": 2,
        "online": 2
      },
      "frequency": {
        "base": 0,
        "max": 0
      },
      "coreTypes": [],
      "temperature": null
    }
  },

At same time, Neofetch show CPU speed correctly (5.2Ghz):

Image

Here is output of /proc/cpuinfo:

vendor_id       : IBM/S390
# processors    : 2
bogomips per cpu: 3241.00
max thread id   : 0
features        : esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx vxd vxe gs vxe2 vxp sort dflt sie 
facilities      : 0 1 2 3 4 6 7 8 9 10 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 69 70 71 72 73 74 75 76 77 80 81 82 128 129 130 131 133 134 135 146 147 148 150 151 152 155 156 168
cache0          : level=1 type=Data scope=Private size=128K line_size=256 associativity=8
cache1          : level=1 type=Instruction scope=Private size=128K line_size=256 associativity=8
cache2          : level=2 type=Data scope=Private size=4096K line_size=256 associativity=8
cache3          : level=2 type=Instruction scope=Private size=4096K line_size=256 associativity=8
cache4          : level=3 type=Unified scope=Shared size=262144K line_size=256 associativity=32
cache5          : level=4 type=Unified scope=Shared size=983040K line_size=256 associativity=60
processor 0: version = FF,  identification = 0918E8,  machine = 8561
processor 1: version = FF,  identification = 0918E8,  machine = 8561

cpu number      : 0
physical id     : 0
core id         : 0
book id         : 0
drawer id       : 0
dedicated       : 0
address         : 0
siblings        : 1
cpu cores       : 1
version         : FF
identification  : 0918E8
machine         : 8561
cpu MHz dynamic : 5200
cpu MHz static  : 5200

cpu number      : 1
physical id     : 1
core id         : 1
book id         : 1
drawer id       : 1
dedicated       : 0
address         : 1
siblings        : 1
cpu cores       : 1
version         : FF
identification  : 0918E8
machine         : 8561
cpu MHz dynamic : 5200
cpu MHz static  : 5200

Tested on both versions 2.48 from EPEL and latest nightly build of 2.56.1

Version used

fastfetch 2.56.1 (s390x)

Bug prevalence

Always

Regression

No

Installation

GitHub Actions (nightly)

Package manager

RPM for nightly build of s390x variant

Screenshots

No response

Configuration

System information

Features built-in

threads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick6
zlib
sqlite3
rpm
egl
glx
opencl
libpulse
libelf
libzfs
linux/videodev2
linux/wireless