From patchwork Fri May 9 16:40:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 29916 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A1009202FE for ; Fri, 9 May 2014 16:41:15 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id lc6sf13230163vcb.3 for ; Fri, 09 May 2014 09:41:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:date :message-id:in-reply-to:references:subject:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=xUctY2fAlr6fmcCWP46K/2bCqMbKJkGcghoZfGf0Xwg=; b=EVv7B+WiUD/ER4IEdXtWaecYZBNdTd35DfOxGDbIbwn+5hzfxhpqzWtFpnicEedVsz G+P3dMfkB6VOR+nMMxg33B1L+bLyYQmKMeMY6Dfm8qsGsv85uSs7Rb+937rHBjG204Rs vdEdu2A9sA7HYt+pZYrws2uMBheyy8DBhPTcqLz5dFigMfRK6PFOet2KDw0+0ievB8St kq6jv6ImmzvVG6RowIZjiPbFvFoQ6YDgIawoen3xHOB6VWzCzYWu/I51xwK0UpfdzqAi v0P/SOZ5TVVvgU7rO2uZZJ+ijyjH34AJJmWtEKDWJD/VNLgnC9QyI/tEP1shBUkd4/BE UEGg== X-Gm-Message-State: ALoCoQlkaAPiWZ8G1DkfMFv39QkzSpZeVODIR7v0v+lhresjcPMTnnWL1KhknvBicyQ+lIxdG++H X-Received: by 10.58.150.194 with SMTP id uk2mr5561535veb.0.1399653675369; Fri, 09 May 2014 09:41:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.87 with SMTP id v81ls401369qge.0.gmail; Fri, 09 May 2014 09:41:15 -0700 (PDT) X-Received: by 10.220.139.198 with SMTP id f6mr1387627vcu.47.1399653675183; Fri, 09 May 2014 09:41:15 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id s7si812576vev.56.2014.05.09.09.41.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 May 2014 09:41:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id hy4so4656539vcb.25 for ; Fri, 09 May 2014 09:41:15 -0700 (PDT) X-Received: by 10.52.227.138 with SMTP id sa10mr7807056vdc.25.1399653675030; Fri, 09 May 2014 09:41:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp95477vcb; Fri, 9 May 2014 09:41:14 -0700 (PDT) X-Received: by 10.66.122.72 with SMTP id lq8mr22326410pab.69.1399653674337; Fri, 09 May 2014 09:41:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sy6si2369079pab.158.2014.05.09.09.41.12; Fri, 09 May 2014 09:41:12 -0700 (PDT) Received-SPF: none (google.com: linux-pm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756558AbaEIQlI (ORCPT + 12 others); Fri, 9 May 2014 12:41:08 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:39432 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756740AbaEIQlG (ORCPT ); Fri, 9 May 2014 12:41:06 -0400 Received: from cpc11-sgyl31-2-0-cust672.sgyl.cable.virginm.net ([94.175.94.161] helo=debutante.sirena.org.uk) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Winqp-0006Hp-UB; Fri, 09 May 2014 16:40:52 +0000 Received: from broonie by debutante.sirena.org.uk with local (Exim 4.82) (envelope-from ) id 1Winqh-0001Ib-Ga; Fri, 09 May 2014 17:40:39 +0100 From: Mark Brown To: Catalin Marinas , Will Deacon , "Rafael J. Wysocki" , Viresh Kumar Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org, Mark Brown Date: Fri, 9 May 2014 17:40:31 +0100 Message-Id: <1399653631-4938-3-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 2.0.0.rc2 In-Reply-To: <1399653631-4938-1-git-send-email-broonie@kernel.org> References: <1399653631-4938-1-git-send-email-broonie@kernel.org> X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mezzanine.sirena.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH 3/3] cpufreq: Enable big.LITTLE cpufreq driver on arm64 X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: broonie@kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Mark Brown There are arm64 big.LITTLE systems so enable the big.LITTLE cpufreq driver. While IKS is not available for these systems the driver is still useful since it manages clusters with shared frequencies which is the common case for these systems. Long term combining the cpufreq-cpu0 and big.LITTLE drivers may be a more sensible option but that is substantially more complex especially in the case of IKS. Signed-off-by: Mark Brown Acked-by: Viresh Kumar --- drivers/cpufreq/Kconfig.arm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 6e05a1e18e52..6a7dd3e958d5 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -5,7 +5,8 @@ # big LITTLE core layer and glue drivers config ARM_BIG_LITTLE_CPUFREQ tristate "Generic ARM big LITTLE CPUfreq driver" - depends on ARM && BIG_LITTLE && ARM_CPU_TOPOLOGY && HAVE_CLK + depends on (BIG_LITTLE && ARM_CPU_TOPOLOGY) || (ARM64 && SMP) + depends on HAVE_CLK select PM_OPP help This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.