From 84ef834c6caebdf8edb2df48dc9b1672f0cc9089 Mon Sep 17 00:00:00 2001 From: Borislav Petkov Date: Thu, 8 Jul 2010 17:55:30 +0200 Subject: [PATCH] --- yaml --- r: 202523 b: refs/heads/master c: c2f4a2c6e08c7635316dfd25ef706e9104384c56 h: refs/heads/master i: 202521: da98fb80740d472c9235488c813ca1e4159e15ee 202519: b62cd6e0c2968421ac2f6c969fd123efd51f67f6 v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 0de4e53ee29a..07efad101494 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6ebdf777ba034d2b54c99f28a4b18dabf286d8e5 +refs/heads/master: c2f4a2c6e08c7635316dfd25ef706e9104384c56 diff --git a/trunk/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/trunk/arch/x86/kernel/cpu/cpufreq/powernow-k8.c index 7ec2123838e6..3e90cce3dc8b 100644 --- a/trunk/arch/x86/kernel/cpu/cpufreq/powernow-k8.c +++ b/trunk/arch/x86/kernel/cpu/cpufreq/powernow-k8.c @@ -1023,13 +1023,12 @@ static int get_transition_latency(struct powernow_k8_data *data) } if (max_latency == 0) { /* - * Fam 11h always returns 0 as transition latency. - * This is intended and means "very fast". While cpufreq core - * and governors currently can handle that gracefully, better - * set it to 1 to avoid problems in the future. - * For all others it's a BIOS bug. + * Fam 11h and later may return 0 as transition latency. This + * is intended and means "very fast". While cpufreq core and + * governors currently can handle that gracefully, better set it + * to 1 to avoid problems in the future. */ - if (boot_cpu_data.x86 != 0x11) + if (boot_cpu_data.x86 < 0x11) printk(KERN_ERR FW_WARN PFX "Invalid zero transition " "latency\n"); max_latency = 1;