Skip to content

Commit

Permalink
x86/cpu: Add advanced power management bits
Browse files Browse the repository at this point in the history
Bit 11 of CPUID 8000_0007 edx is processor feedback interface.
Bit 12 of CPUID 8000_0007 edx is accumulated power.

Print proper names in proc/cpuinfo

Reported-and-tested-by: Borislav Petkov <[email protected]>
Signed-off-by: Huang Rui <[email protected]>
Cc: Tony Li <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Fengguang Wu <[email protected]>
Cc: Sherry Hurwitz <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: "Len Brown" <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
  • Loading branch information
huangrui authored and KAGA-KOKO committed Mar 29, 2016
1 parent 5f870a3 commit 34a4cce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86/kernel/cpu/powerflags.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ const char *const x86_power_flags[32] = {
"", /* tsc invariant mapped to constant_tsc */
"cpb", /* core performance boost */
"eff_freq_ro", /* Readonly aperf/mperf */
"proc_feedback", /* processor feedback interface */
"acc_power", /* accumulated power mechanism */
};

0 comments on commit 34a4cce

Please sign in to comment.