Closed ignatenkobrain closed 5 years ago
Last time, i add 'BogoMIPS' field in cpu_speed(), and update to v0.5.4, because i see it in your previous issue #23 .
Could you print the output of cat /proc/cpuinfo
?
Actually those servers got updated during Christmas...
[ignatenkobrain@ppc64-test ~][PROD]$ cat /proc/cpuinfo
processor : 0
cpu : POWER8 (architected), altivec supported
clock : 3425.000000MHz
revision : 2.1 (pvr 004b 0201)
processor : 1
cpu : POWER8 (architected), altivec supported
clock : 3425.000000MHz
revision : 2.1 (pvr 004b 0201)
timebase : 512000000
platform : pSeries
model : IBM pSeries (emulated by qemu)
machine : CHRP IBM pSeries (emulated by qemu)
MMU : Hash
Looking at kernel sources...
➜ arch git:(master) grep -ri "seq_printf.*MHz"
arc/kernel/setup.c: seq_printf(m, "CPU speed\t: %lu.%02lu Mhz\n",
blackfin/kernel/setup.c: seq_printf(m, "model name\t: ADSP-%s %lu(MHz CCLK) %lu(MHz SCLK) (%s)\n"
blackfin/kernel/setup.c: seq_printf(m, "\ncpu MHz\t\t: %lu.%06lu/%lu.%06lu\n",
frv/kernel/setup.c: seq_printf(m, "Clock-" TAG ":\t%lu.%2.2lu MHz\n", VAR / 1000000, (VAR / 10000) % 100)
m32r/kernel/setup.c: seq_printf(m, name " clock\t: %d.%02dMHz\n", \
parisc/kernel/processor.c: seq_printf(m, "cpu MHz\t\t: %d.%06d\n",
powerpc/kernel/setup-common.c: seq_printf(m, "clock\t\t: %lu.%06luMHz\n",
s390/kernel/processor.c: seq_printf(m, "cpu MHz dynamic : %d\n", c->cpu_mhz_dynamic);
s390/kernel/processor.c: seq_printf(m, "cpu MHz static : %d\n", c->cpu_mhz_static);
tile/kernel/proc.c: seq_printf(m, "cpu MHz\t\t: %llu.%06llu\n",
x86/kernel/cpu/proc.c: seq_printf(m, "cpu MHz\t\t: %u.%03u\n",
Ping?
@FillZpp any news here?
@ignatenkobrain How about this #40
there is no bogomips or mhz....