aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorYinghai Lu <Yinghai.Lu@Sun.COM>2007-11-20 22:38:27 -0500
committerDave Jones <davej@redhat.com>2008-02-06 22:57:58 -0500
commit4ae5c49ffe93a36e8f6140db069b4126289020c1 (patch)
treeba5b8f1777229c975a0818fbba7aeaedf0577927 /arch/x86
parent9e76988e9390a4ff4d171f690586d0c58186b47e (diff)
[CPUFREQ] powernow-k8 print pstate instead of fid/did for family 10h
powernow-k8: Found 1 Quad-Core AMD Opteron(tm) Processor 8354 processors (4 cpu cores) (version 2.20.00) powernow-k8: 0 : fid 0x0 did 0x0 (2200 MHz) powernow-k8: 1 : fid 0x0 did 0x0 (2000 MHz) powernow-k8: 2 : fid 0x0 did 0x0 (1700 MHz) powernow-k8: 3 : fid 0x0 did 0x0 (1400 MHz) powernow-k8: 4 : fid 0x0 did 0x0 (1100 MHz) actually index for CPU_HW_PSTATE is pstate instead of fid/vid So print it out as pstate. powernow-k8: Found 1 Quad-Core AMD Opteron(tm) Processor 8354 processors (4 cpu cores) (version 2.20.00) powernow-k8: 0 : pstate 0 (2200 MHz) powernow-k8: 1 : pstate 1 (2000 MHz) powernow-k8: 2 : pstate 2 (1700 MHz) powernow-k8: 3 : pstate 3 (1400 MHz) powernow-k8: 4 : pstate 4 (1100 MHz) Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Cc: "Langsdorf, Mark" <mark.langsdorf@amd.com> Cc: "Herrmann3, Andreas" <Andreas.Herrmann3@amd.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/cpu/cpufreq/powernow-k8.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
index 5affe91ca1e5..67f04ec44af2 100644
--- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
+++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
@@ -578,10 +578,9 @@ static void print_basics(struct powernow_k8_data *data)
578 for (j = 0; j < data->numps; j++) { 578 for (j = 0; j < data->numps; j++) {
579 if (data->powernow_table[j].frequency != CPUFREQ_ENTRY_INVALID) { 579 if (data->powernow_table[j].frequency != CPUFREQ_ENTRY_INVALID) {
580 if (cpu_family == CPU_HW_PSTATE) { 580 if (cpu_family == CPU_HW_PSTATE) {
581 printk(KERN_INFO PFX " %d : fid 0x%x did 0x%x (%d MHz)\n", 581 printk(KERN_INFO PFX " %d : pstate %d (%d MHz)\n",
582 j, 582 j,
583 (data->powernow_table[j].index & 0xff00) >> 8, 583 data->powernow_table[j].index,
584 (data->powernow_table[j].index & 0xff0000) >> 16,
585 data->powernow_table[j].frequency/1000); 584 data->powernow_table[j].frequency/1000);
586 } else { 585 } else {
587 printk(KERN_INFO PFX " %d : fid 0x%x (%d MHz), vid 0x%x\n", 586 printk(KERN_INFO PFX " %d : fid 0x%x (%d MHz), vid 0x%x\n",