Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753985Ab3EDGjm (ORCPT ); Sat, 4 May 2013 02:39:42 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:47878 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752744Ab3EDGjl (ORCPT ); Sat, 4 May 2013 02:39:41 -0400 MIME-Version: 1.0 In-Reply-To: <1367507786-505303-3-git-send-email-arnd@arndb.de> References: <1367507786-505303-1-git-send-email-arnd@arndb.de> <1367507786-505303-3-git-send-email-arnd@arndb.de> Date: Sat, 4 May 2013 12:09:40 +0530 Message-ID: Subject: Re: [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY From: Viresh Kumar To: "Rafael J. Wysocki" , Arnd Bergmann Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org Content-Type: multipart/mixed; boundary=089e012297626b60a904dbdebbbe Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5621 Lines: 118 --089e012297626b60a904dbdebbbe Content-Type: text/plain; charset=ISO-8859-1 On 2 May 2013 20:46, Arnd Bergmann wrote: > The big.LITTLE cpufreq driver uses the CPU topology API, which > needs to be reflected in Kconfig to prevent broken configurations. > > warning: (ARM_DT_BL_CPUFREQ) selects ARM_BIG_LITTLE_CPUFREQ which > has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && ARM && ARM_CPU_TOPOLOGY) > > Cc: Rafael J. Wysocki > Cc: Viresh Kumar > Cc: cpufreq@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Signed-off-by: Arnd Bergmann > --- > drivers/cpufreq/Kconfig.arm | 1 + > 1 file changed, 1 insertion(+) With all the discussions we had, please see if you can replace your patch with this one (Attached too for applying, copy/paste in gmail will break it): From: Viresh Kumar Date: Sat, 4 May 2013 12:03:54 +0530 Subject: [PATCH] cpufreq: ARM big LITTLE: Fix Kconfig entries This fixes usage of "depends on" and "select" options in Kconfig for ARM big LITTLE cpufreq driver. Otherwise we get these warnings: warning: (ARM_DT_BL_CPUFREQ) selects ARM_BIG_LITTLE_CPUFREQ which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && ARM && ARM_CPU_TOPOLOGY) Signed-off-by: Arnd Bergmann Signed-off-by: Viresh Kumar --- drivers/cpufreq/Kconfig.arm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 634e992..a924408 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -3,17 +3,17 @@ # config ARM_BIG_LITTLE_CPUFREQ - tristate - depends on ARM_CPU_TOPOLOGY - select PM_OPP + tristate "Generic ARM big LITTLE CPUfreq driver" + depends on ARM_CPU_TOPOLOGY && PM_OPP && HAVE_CLK + help + This enables the Generic CPUfreq driver for ARM big.LITTLE platforms. config ARM_DT_BL_CPUFREQ - tristate "Generic ARM big LITTLE CPUfreq driver probed via DT" - select ARM_BIG_LITTLE_CPUFREQ - depends on OF && HAVE_CLK + tristate "Generic probing via DT for ARM big LITTLE CPUfreq driver" + depends on ARM_BIG_LITTLE_CPUFREQ && OF help - This enables the Generic CPUfreq driver for ARM big.LITTLE platform. - This gets frequency tables from DT. + This enables probing via DT for Generic CPUfreq driver for ARM + big.LITTLE platform. This gets frequency tables from DT. config ARM_EXYNOS_CPUFREQ bool "SAMSUNG EXYNOS SoCs" --089e012297626b60a904dbdebbbe Content-Type: application/octet-stream; name="0001-cpufreq-ARM-big-LITTLE-Fix-Kconfig-entries.patch" Content-Disposition: attachment; filename="0001-cpufreq-ARM-big-LITTLE-Fix-Kconfig-entries.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hgaf8es90 RnJvbSBiMzFkNDBh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Zy5M SVRUTEUgcGxhdGZvcm0uCi0JICBUaGlzIGdldHMgZnJlcXVlbmN5IHRhYmxlcyBmcm9tIERULgor CSAgVGhpcyBlbmFibGVzIHByb2JpbmcgdmlhIERUIGZvciBHZW5lcmljIENQVWZyZXEgZHJpdmVy IGZvciBBUk0KKwkgIGJpZy5MSVRUTEUgcGxhdGZvcm0uIFRoaXMgZ2V0cyBmcmVxdWVuY3kgdGFi bGVzIGZyb20gRFQuCiAKIGNvbmZpZyBBUk1fRVhZTk9TX0NQVUZSRVEKIAlib29sICJTQU1TVU5H IEVYWU5PUyBTb0NzIgotLSAKMS43LjEyLnJjMi4xOC5nNjFiNDcyZQoK --089e012297626b60a904dbdebbbe-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/