|
@@ -29,7 +29,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
|
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
|
NULL, NULL, NULL, "syscall", NULL, NULL, NULL, NULL,
|
|
|
NULL, NULL, NULL, "mp", "nx", NULL, "mmxext", NULL,
|
|
|
- NULL, "fxsr_opt", NULL, NULL, NULL, "lm", "3dnowext", "3dnow",
|
|
|
+ NULL, "fxsr_opt", "rdtscp", NULL, NULL, "lm", "3dnowext", "3dnow",
|
|
|
|
|
|
/* Transmeta-defined */
|
|
|
"recovery", "longrun", NULL, "lrti", NULL, NULL, NULL, NULL,
|
|
@@ -57,11 +57,21 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
|
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
|
|
|
|
/* AMD-defined (#2) */
|
|
|
- "lahf_lm", "cmp_legacy", NULL, NULL, NULL, NULL, NULL, NULL,
|
|
|
+ "lahf_lm", "cmp_legacy", "svm", NULL, "cr8legacy", NULL, NULL, NULL,
|
|
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
|
};
|
|
|
+ static char *x86_power_flags[] = {
|
|
|
+ "ts", /* temperature sensor */
|
|
|
+ "fid", /* frequency id control */
|
|
|
+ "vid", /* voltage id control */
|
|
|
+ "ttp", /* thermal trip */
|
|
|
+ "tm",
|
|
|
+ "stc",
|
|
|
+ NULL,
|
|
|
+ /* nothing */ /* constant_tsc - moved to flags */
|
|
|
+ };
|
|
|
struct cpuinfo_x86 *c = v;
|
|
|
int i, n = c - cpu_data;
|
|
|
int fpu_exception;
|
|
@@ -131,6 +141,17 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
|
|
x86_cap_flags[i] != NULL )
|
|
|
seq_printf(m, " %s", x86_cap_flags[i]);
|
|
|
|
|
|
+ for (i = 0; i < 32; i++)
|
|
|
+ if (c->x86_power & (1 << i)) {
|
|
|
+ if (i < ARRAY_SIZE(x86_power_flags) &&
|
|
|
+ x86_power_flags[i])
|
|
|
+ seq_printf(m, "%s%s",
|
|
|
+ x86_power_flags[i][0]?" ":"",
|
|
|
+ x86_power_flags[i]);
|
|
|
+ else
|
|
|
+ seq_printf(m, " [%d]", i);
|
|
|
+ }
|
|
|
+
|
|
|
seq_printf(m, "\nbogomips\t: %lu.%02lu\n\n",
|
|
|
c->loops_per_jiffy/(500000/HZ),
|
|
|
(c->loops_per_jiffy/(5000/HZ)) % 100);
|