Skip to contentSkip to conversation

x86: Report cpb and eff_freq_ro flags correctly

PATCH In review Joerg Roedel 1 participant 2 messages Dec 14, 2011 – Dec 15, 2011 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/x86/kernel/cpu/powerflags.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/x86/kernel/cpu/powerflags.c +2 -1
index 5abbea2..7b3fe56 100644
@@ -16,5 +16,6 @@ const char *const x86_power_flags[32] = {
 	"100mhzsteps",
 	"hwpstate",
 	"",	/* tsc invariant mapped to constant_tsc */
-		/* nothing */
+	"cpb",  /* core performance boost */
+	"eff_freq_ro", /* Readonly aperf/mperf */
 };
Signature · 1 line
1.7.5.4
#1 lore raw
Commit-ID:  969df4b82904a30fef19a67398a0c854d223ea67
Gitweb:     http://git.kernel.org/tip/969df4b82904a30fef19a67398a0c854d223ea67
Author:     Joerg Roedel <[email protected]>
AuthorDate: Wed, 14 Dec 2011 16:12:54 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 15 Dec 2011 08:14:49 +0100

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.

---
 arch/x86/kernel/cpu/powerflags.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/x86/kernel/cpu/powerflags.c +2 -1
index 5abbea2..7b3fe56 100644
@@ -16,5 +16,6 @@ const char *const x86_power_flags[32] = {
 	"100mhzsteps",
 	"hwpstate",
 	"",	/* tsc invariant mapped to constant_tsc */
-		/* nothing */
+	"cpb",  /* core performance boost */
+	"eff_freq_ro", /* Readonly aperf/mperf */
 };