Prev: [-v3 PATCH 0/6] powernow-k8: Core Performance Boost and effective frequency support
Next: x86: Do not write to VGA memory space if CONFIG_VGA_CONSOLE is undefined
From: Borislav Petkov on 31 Mar 2010 16:00 From: Mark Langsdorf <mark.langsdorf(a)amd.com> With F10, model 10, all valid frequencies are in the ACPI _PST table. Cc: <stable(a)kernel.org> # 33.x 32.x Signed-off-by: Mark Langsdorf <mark.langsdorf(a)amd.com> Signed-off-by: Borislav Petkov <borislav.petkov(a)amd.com> Reviewed-by: Thomas Renninger <trenn(a)suse.de> --- arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c index 52fce63..6f3dc8f 100644 --- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c @@ -935,7 +935,8 @@ static int fill_powernow_table_pstate(struct powernow_k8_data *data, powernow_table[i].index = index; /* Frequency may be rounded for these */ - if (boot_cpu_data.x86 == 0x10 || boot_cpu_data.x86 == 0x11) { + if ((boot_cpu_data.x86 == 0x10 && boot_cpu_data.x86_model < 10) + || boot_cpu_data.x86 == 0x11) { powernow_table[i].frequency = freq_from_fid_did(lo & 0x3f, (lo >> 6) & 7); } else -- 1.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |