]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
x86: Report cpb and eff_freq_ro flags correctly
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 14 Dec 2011 15:12:54 +0000 (16:12 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Dec 2011 07:14:49 +0000 (08:14 +0100)
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>
arch/x86/kernel/cpu/powerflags.c

index 5abbea297e0c9a84375c4fbf0189cb69ccc1e77b..7b3fe56b1c214fe4ef1a9071fe28fb62aa406a58 100644 (file)
@@ -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 */
 };