[gentoo-user] The meaning of number in brackets in /proc/cpuinfo power management?

2013-09-20 Thread Pandu Poluan
Hello list!

Does anyone know the meaning of the 'number between brackets' in the
power management line of /proc/cpuinfo?

For instance (I snipped the flags line to not clutter the email:

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 21
model   : 2
model name  : AMD Opteron(tm) Processor 6386 SE
stepping: 0
cpu MHz : 2800.110
cache size  : 2048 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
flags   : --snip--
bogomips: 5631.71
clflush size: 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate [9] [10]

What's [9] and [10] supposed to mean?

(Note: The OS is not actually Gentoo, but this list is sooo
knowledgeable, and methinks the output of /proc/cpuinfo is quite
universal...)


Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] The meaning of number in brackets in /proc/cpuinfo power management?

2013-09-20 Thread Todd Goodman
* Pandu Poluan pa...@poluan.info [130920 03:45]:
 Hello list!
 
 Does anyone know the meaning of the 'number between brackets' in the
 power management line of /proc/cpuinfo?
 
 For instance (I snipped the flags line to not clutter the email:
 
 processor   : 0
 vendor_id   : AuthenticAMD
 cpu family  : 21
 model   : 2
 model name  : AMD Opteron(tm) Processor 6386 SE
 stepping: 0
 cpu MHz : 2800.110
 cache size  : 2048 KB
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 13
 wp  : yes
 flags   : --snip--
 bogomips: 5631.71
 clflush size: 64
 cache_alignment : 64
 address sizes   : 48 bits physical, 48 bits virtual
 power management: ts ttp tm 100mhzsteps hwpstate [9] [10]
 
 What's [9] and [10] supposed to mean?
 
 (Note: The OS is not actually Gentoo, but this list is sooo
 knowledgeable, and methinks the output of /proc/cpuinfo is quite
 universal...)

I don't know for sure but looking in arch/x86/cpu/{powerflags,proc}.c it
looks like your kernel doesn't have a text description for power flag
bits 9 and 10.

In Linux 3.11.1 they are:

[9] - cpb,  /* core performance boost */
[10] - eff_freq_ro, /* Readonly aperf/mperf */

Todd