https://bugs.kde.org/show_bug.cgi?id=439464

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |---
             Status|NEEDSINFO                   |REPORTED

--- Comment #3 from Harald Sitter <sit...@kde.org> ---
util-linux' lscpu does map the cpuinfo codes to a number of different values
(lscpu-arm.c) that comes from a number of sources but isn't available as a
library. There is linux' include/asm/cputype.h but that seems not nearly as
comprehensive and doesn't provide strings so that one would still have to
manually map stuff on our end.

The architecture value as best I can tell would only be available from uname
and that is not exactly well defined as to what it contains in the machine
value. So best case that is aarch64, worst case it's a long sentence that makes
no sense given the context.

All in all a bit of a disappointing situation since we most definitely do not
want to maintain pretty string mappings on our end. I suspect simply rendering
the value as `N x Unknown Processor` when there is no name is the most
attractive solution by far.


# solid

udi = '/org/kde/solid/udev/sys/devices/system/cpu/cpu0'
  parent = '/org/kde/solid/udev' (string)
  vendor = '' (string)
  product = '' (string)
  description = 'Processor' (string)
  icon = 'cpu' (string)
  Processor.number = 0  (0x0)  (int)
  Processor.maxSpeed = 0  (0x0)  (qulonglong)
  Processor.canChangeFrequency = false (bool)
  Processor.instructionSets = 'NoExtensions'  (0x0)  (flag)

# lscpu

Architecture:        aarch64
CPU op-mode(s):      64-bit
Byte Order:          Little Endian
CPU(s):              96
On-line CPU(s) list: 0-95
Thread(s) per core:  1
Core(s) per socket:  48
Socket(s):           2
NUMA node(s):        2
Vendor ID:           Cavium
Model:               1
Model name:          ThunderX 88XX
Stepping:            0x1
BogoMIPS:            200.00
NUMA node0 CPU(s):   0-47
NUMA node1 CPU(s):   48-95
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to