From patchwork Fri Mar 14 06:40:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 26243 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A3E2420793 for ; Fri, 14 Mar 2014 06:41:09 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf8219406oag.0 for ; Thu, 13 Mar 2014 23:41:09 -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:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=nnWcjMOGYIHbNBx9qelog94d1Rc11Qz/Q0ErziHvIeQ=; b=MBzdtsoi08d3vt1fzP9qB8AI9O+8U2KvH3PQ/j72VVHhcbFEJQQEp/cnzvdNGEhhZO Kpr/VaNsPXM6YQIcaSnHtnJkD+fNAVj8f/ykFmNNxqIm9GCXc4UBOYG8Npib7C4YnBuN xwciuyNTKYSYe7HbrF04B9yhVFHM7jPzuwxa0If5d82FBfhDJyR3L8+m5ESzpaFvhpBP 1W3TehrQS2xHVntdgkeq4R6rw5vQzFqCU0gYDjWyysd3I0I+fg/X5twM96zUPTTjiTDT iqcX5ptv7IeCJyd46begcTP7ZJEkjbj5OdF2LUZxG96fIoY5xtgJK27IdS2voJjert7d 552Q== X-Gm-Message-State: ALoCoQny4UMQ9i2z7QxVMIF/O1recW52oghGYmkCgWct+VS8K2EwpaNAY87NmASiVKoAWAAfyDoE X-Received: by 10.42.28.2 with SMTP id l2mr2239610icc.20.1394779269045; Thu, 13 Mar 2014 23:41:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.19.81 with SMTP id 75ls535612qgg.75.gmail; Thu, 13 Mar 2014 23:41:08 -0700 (PDT) X-Received: by 10.52.171.68 with SMTP id as4mr4184980vdc.0.1394779268974; Thu, 13 Mar 2014 23:41:08 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id tt2si1771635vdc.139.2014.03.13.23.41.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 23:41:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so2248682vcb.4 for ; Thu, 13 Mar 2014 23:41:08 -0700 (PDT) X-Received: by 10.52.240.207 with SMTP id wc15mr4200270vdc.14.1394779268887; Thu, 13 Mar 2014 23:41:08 -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.78.9 with SMTP id i9csp30915vck; Thu, 13 Mar 2014 23:41:08 -0700 (PDT) X-Received: by 10.69.2.2 with SMTP id bk2mr7230970pbd.75.1394779268009; Thu, 13 Mar 2014 23:41:08 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ub8si3016672pac.420.2014.03.13.23.41.06; Thu, 13 Mar 2014 23:41:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of cpufreq-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755737AbaCNGlF (ORCPT + 6 others); Fri, 14 Mar 2014 02:41:05 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:60941 "EHLO mail-we0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755727AbaCNGlC (ORCPT ); Fri, 14 Mar 2014 02:41:02 -0400 Received: by mail-we0-f173.google.com with SMTP id w61so1737452wes.32 for ; Thu, 13 Mar 2014 23:41:01 -0700 (PDT) X-Received: by 10.194.104.39 with SMTP id gb7mr220028wjb.69.1394779261580; Thu, 13 Mar 2014 23:41:01 -0700 (PDT) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id j8sm11361792wjn.13.2014.03.13.23.40.57 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 13 Mar 2014 23:41:00 -0700 (PDT) From: Viresh Kumar To: rjw@rjwysocki.net Cc: linaro-kernel@lists.linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, xin.wang@arm.com, arvind.chauhan@arm.com, Sudeep.Holla@arm.com, Viresh Kumar Subject: [PATCH 1/2] cpufreq: arm_big_little: make vexpress driver dependent on bL core driver Date: Fri, 14 Mar 2014 12:10:54 +0530 Message-Id: <4689064c920e08d5667b38d7117620ab98150273.1394779110.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e Sender: cpufreq-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: cpufreq@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: , Currently vexpress big LITTLE driver selects ARM_BIG_LITTLE_CPUFREQ and so if CONFIG_BIG_LITTLE isn't enabled and CONFIG_ARM_VEXPRESS_SPC_CPUFREQ is enabled we get below warnings while compiling: warning: (ARM_VEXPRESS_SPC_CPUFREQ) selects ARM_BIG_LITTLE_CPUFREQ which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && (ARM || ARM64) && ARM && BIG_LITTLE && ARM_CPU_TOPOLOGY && HAVE_CLK) To fix this make ARM_VEXPRESS_SPC_CPUFREQ dependent on ARM_BIG_LITTLE_CPUFREQ instead of selecting it. This also moves entry for ARM_VEXPRESS_SPC_CPUFREQ along with other big LITTLE config entries. Signed-off-by: Viresh Kumar --- Hi Rafael, Both of these are fixes, please see if they can make it to 3.14 only. Thanks. drivers/cpufreq/Kconfig.arm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 3129749..9fb6270 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -2,6 +2,7 @@ # ARM CPU Frequency scaling drivers # +# 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 @@ -16,6 +17,14 @@ config ARM_DT_BL_CPUFREQ This enables probing via DT for Generic CPUfreq driver for ARM big.LITTLE platform. This gets frequency tables from DT. +config ARM_VEXPRESS_SPC_CPUFREQ + tristate "Versatile Express SPC based CPUfreq driver" + depends on ARM_BIG_LITTLE_CPUFREQ && ARCH_VEXPRESS_SPC + help + This add the CPUfreq driver support for Versatile Express + big.LITTLE platforms using SPC for power management. + + config ARM_EXYNOS_CPUFREQ bool @@ -241,11 +250,3 @@ config ARM_TEGRA_CPUFREQ default y help This adds the CPUFreq driver support for TEGRA SOCs. - -config ARM_VEXPRESS_SPC_CPUFREQ - tristate "Versatile Express SPC based CPUfreq driver" - select ARM_BIG_LITTLE_CPUFREQ - depends on ARCH_VEXPRESS_SPC - help - This add the CPUfreq driver support for Versatile Express - big.LITTLE platforms using SPC for power management.