From patchwork Sun Jan 20 10:24:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 2007991 Return-Path: X-Original-To: patchwork-linux-acpi@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 C8ADF3FDD1 for ; Sun, 20 Jan 2013 10:24:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751921Ab3ATKYl (ORCPT ); Sun, 20 Jan 2013 05:24:41 -0500 Received: from mail.skyhub.de ([78.46.96.112]:41415 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751637Ab3ATKYj (ORCPT ); Sun, 20 Jan 2013 05:24:39 -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=1358677478; bh=cqjDS0i64XxF/UXa0wEPqKCSAdMnwo/4Bk3wboHtpfU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=sRaQ rC8FXvW7EQvKG7ur+5maFvBRc+njGSMyKrkTqNBunkGpNCHopbtaAcjffMsgL7X6XwU AyrDg+OZLLJFvR4w6wwGInuLxLZ84DtxMvJQ3GRSU8dYiDofmWWLld6/oDC5/2QmGDg 9dWI4Wl2cedYCpmFhjD4wHAJ9oVjVGiPM= 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 tYgF0OtdmlAH; Sun, 20 Jan 2013 11:24:37 +0100 (CET) Received: from liondog.tnic (p4FF1D70B.dip.t-dialin.net [79.241.215.11]) (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 DC0921D9DF5; Sun, 20 Jan 2013 11:24:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1358677477; bh=cqjDS0i64XxF/UXa0wEPqKCSAdMnwo/4Bk3wboHtpfU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=BBk+ 2FEhtL3wdfM7Bep+FhaK5nkaOEhIQZd9RKmnnaAf9vWQ5e2dQTxrVWauFgfxGYZ568O qdqTGdCoCHfvZsXVT64YtpYkhGlFemmYlY87JrGUtJFs11C0TBkBweVxbcOgHkNIkm4 Yf+uOlrCDZQCjFkShLBmYv1ot6X+Xd3d4= Received: by liondog.tnic (Postfix, from userid 1000) id BFE66101655; Sun, 20 Jan 2013 11:24:36 +0100 (CET) From: Borislav Petkov To: "Rafael J. Wysocki" Cc: =?UTF-8?q?Andr=C3=A9=20Przywara?= , Leonid Isaev , Tom Gundersen , cpufreq@vger.kernel.org, linux-acpi@vger.kernel.org, LKML , Borislav Petkov Subject: [PATCH 1/6] powernow-k8: Add a kconfig dependency on acpi-cpufreq Date: Sun, 20 Jan 2013 11:24:25 +0100 Message-Id: <1358677470-17394-2-git-send-email-bp@alien8.de> X-Mailer: git-send-email 1.8.1.rc3 In-Reply-To: <1358677470-17394-1-git-send-email-bp@alien8.de> References: <1358677470-17394-1-git-send-email-bp@alien8.de> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Borislav Petkov 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. 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.