From patchwork Thu Jan 17 11:58:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 1996331 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id F1EDA3FCDE for ; Thu, 17 Jan 2013 11:58:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752728Ab3AQL6t (ORCPT ); Thu, 17 Jan 2013 06:58:49 -0500 Received: from mail.skyhub.de ([78.46.96.112]:36531 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120Ab3AQL6s (ORCPT ); Thu, 17 Jan 2013 06:58:48 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1358423926; bh=jUAAXU941NMZnPJM1b1emrzIOgol8/JUkpL9CGPVvSM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=BB+VIEC2uXtjIaY/5kZJ1Yv6qTA11cSxAhFVmL rxkfH3ZMUW3o5+E+cRoJUIDYcCSM6RJ2E96Msg5QbBXQEzAmlkV/UHGm1YreoUMEtBe v4I1yEC8IyPJFS+SGWT+8/F0YY8C/Vu9rtv+HF0IC4cwDxMayh26swo9euyyf8aDn8= Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KtS8abGe2GOb; Thu, 17 Jan 2013 12:58:45 +0100 (CET) Received: from liondog.tnic (p54B7F4AF.dip.t-dialin.net [84.183.244.175]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 8ED991DA1FB; Thu, 17 Jan 2013 12:58:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1358423925; bh=jUAAXU941NMZnPJM1b1emrzIOgol8/JUkpL9CGPVvSM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=UAbMlCKsIk415uXTu1Q19v/DIss0vVLEqiNtNl INMIHp+SUNxEtj2ZZp4GQyRH16eXe2wBf+DQyQcN6iA9FzjLn/T0uKdNkHsGBshDDww 780D+b5zSHExTBK50kHD4sbKtuzrrG0bPUa6JGKxNbQTIhJneBDfDwMdeSipcBsZmM= Received: by liondog.tnic (Postfix, from userid 1000) id 44FA7100CD1; Thu, 17 Jan 2013 12:58:44 +0100 (CET) Date: Thu, 17 Jan 2013 12:58:44 +0100 From: Borislav Petkov To: "rjw@sisk.pl" Cc: "Gopalakrishnan, Aravind" , Andre Przywara , "cpufreq@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Andreas Subject: [PATCH] powernow-k8: Add a kconfig dependency on acpi-cpufreq Message-ID: <20130117115844.GB3853@pd.tnic> Mail-Followup-To: Borislav Petkov , "rjw@sisk.pl" , "Gopalakrishnan, Aravind" , Andre Przywara , "cpufreq@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Andreas References: <1357780161-30581-1-git-send-email-Aravind.Gopalakrishnan@amd.com> <20130111144940.GB21882@liondog.tnic> <20130111165054.GD10751@liondog.tnic> <4923C2DE085EEB4FAB1D375DD09D0BA6100CF170@sausexdag04.amd.com> <20130117115436.GA3853@pd.tnic> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130117115436.GA3853@pd.tnic> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Borislav Petkov Date: Thu, 17 Jan 2013 12:44:20 +0100 Subject: [PATCH] powernow-k8: Add a kconfig dependency on acpi-cpufreq Andreas reports in https://bugzilla.kernel.org/show_bug.cgi?id=51741 that with his Gentoo config, acpi-cpufreq wasn't enabled and powernow-k8 couldn't handoff properly to acpi-cpufreq leading to running without P-state support (i.e., cores are constantly in P0). To alleaviate that, we need to make powernow-k8 depend on acpi-cpufreq so that acpi-cpufreq is always present. Cc: Andre Przywara Reported-by: Andreas Signed-off-by: Borislav Petkov --- drivers/cpufreq/Kconfig.x86 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86 index 934854ae5eb4..7227cd734042 100644 --- a/drivers/cpufreq/Kconfig.x86 +++ b/drivers/cpufreq/Kconfig.x86 @@ -106,7 +106,7 @@ config X86_POWERNOW_K7_ACPI config X86_POWERNOW_K8 tristate "AMD Opteron/Athlon64 PowerNow!" select CPU_FREQ_TABLE - depends on ACPI && ACPI_PROCESSOR + depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ help This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors. Support for K10 and newer processors is now in acpi-cpufreq.