From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OH3LB-0007ap-Mz for garchives@archives.gentoo.org; Tue, 25 May 2010 23:15:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E271E0AF7; Tue, 25 May 2010 23:15:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 09E38E0AF7 for ; Tue, 25 May 2010 23:15:14 +0000 (UTC) Received: from corvid.gentoo.org (corvid.gentoo.org [208.92.234.79]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 8CA8F1B4059 for ; Tue, 25 May 2010 23:15:13 +0000 (UTC) Received: by corvid.gentoo.org (Postfix, from userid 2238) id 7A38B2C052; Tue, 25 May 2010 23:15:12 +0000 (UTC) From: "Markos Chandras (hwoarang)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, hwoarang@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/zen-sources/files: powernow-k8-family10-model10_fix.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: powernow-k8-family10-model10_fix.patch X-VCS-Directories: sys-kernel/zen-sources/files X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras Content-Type: text/plain; charset=utf8 Message-Id: <20100525231512.7A38B2C052@corvid.gentoo.org> Date: Tue, 25 May 2010 23:15:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 0db3f3fc-d816-4108-8191-1afd18ea1699 X-Archives-Hash: f79b90bf91463e9689ee52c92fc2d7d1 hwoarang 10/05/25 23:15:12 Added: powernow-k8-family10-model10_fix.patch Log: Add urgent powernow-k8 patch which fixes turbo clock behavior for the n= ew Phenom II x6 processors (Portage version: 2.2_rc67/cvs/Linux x86_64) Revision Changes Path 1.1 sys-kernel/zen-sources/files/powernow-k8-family10-mo= del10_fix.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sou= rces/files/powernow-k8-family10-model10_fix.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/zen-sou= rces/files/powernow-k8-family10-model10_fix.patch?rev=3D1.1&content-type=3D= text/plain Index: powernow-k8-family10-model10_fix.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >From 679370641e3675633cad222449262abbe93a4a2a Mon Sep 17 00:00:00 2001 From: Mark Langsdorf Date: Wed, 31 Mar 2010 21:56:45 +0200 Subject: [PATCH] powernow-k8: Fix frequency reporting With F10, model 10, all valid frequencies are in the ACPI _PST table. Cc: # 33.x 32.x Signed-off-by: Mark Langsdorf LKML-Reference: <1270065406-1814-6-git-send-email-bp@amd64.org> Signed-off-by: Borislav Petkov Reviewed-by: Thomas Renninger Signed-off-by: H. Peter Anvin --- 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 =3D index; =20 /* Frequency may be rounded for these */ - if (boot_cpu_data.x86 =3D=3D 0x10 || boot_cpu_data.x86 =3D=3D 0x11) { + if ((boot_cpu_data.x86 =3D=3D 0x10 && boot_cpu_data.x86_model < 10) + || boot_cpu_data.x86 =3D=3D 0x11) { powernow_table[i].frequency =3D freq_from_fid_did(lo & 0x3f, (lo >> 6) & 7); } else --=20 1.7.1