Browse Source

x86: Report cpb and eff_freq_ro flags correctly

Add the flags to get rid of the [9] and [10] feature names
in cpuinfo's 'power management' fields and replace them with
meaningful names.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/1323875574-17881-1-git-send-email-joerg.roedel@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Joerg Roedel 13 years ago
parent
commit
969df4b829
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/x86/kernel/cpu/powerflags.c

+ 2 - 1
arch/x86/kernel/cpu/powerflags.c

@@ -16,5 +16,6 @@ const char *const x86_power_flags[32] = {
 	"100mhzsteps",
 	"100mhzsteps",
 	"hwpstate",
 	"hwpstate",
 	"",	/* tsc invariant mapped to constant_tsc */
 	"",	/* tsc invariant mapped to constant_tsc */
-		/* nothing */
+	"cpb",  /* core performance boost */
+	"eff_freq_ro", /* Readonly aperf/mperf */
 };
 };