* [PATCH, RFC 00/22] ARM randconfig bugs
@ 2013-05-02 15:16 Arnd Bergmann
2013-05-02 15:16 ` [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY Arnd Bergmann
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Arnd Bergmann @ 2013-05-02 15:16 UTC (permalink / raw)
To: linux-kernel
Cc: linux-arm-kernel, Arnd Bergmann, Alan Stern, Daniel Lezcano,
Dave Airlie, Greg Kroah-Hartman, Hans Verkuil, Herbert Xu,
John W. Linville, Konrad Rzeszutek Wilk, Mauro Carvalho Chehab,
Oliver Hartkopp, Rafael J. Wysocki, Robert Richter, Samuel Ortiz,
Shawn Guo, Thierry Reding, Tomi Valkeinen, Viresh Kumar,
Zhang Rui, cpufreq, dri-devel, linux-can
Hi subsystem maintainers,
This is a set of patches to to fix build errors I hit while trying to
build lots of randconfig kernels on linux-next.
Most of them are simple missing dependencies in Kconfig, but some are
more substantial. I would like to see at least the obvious patches
get merged for 3.10. If you are happy with the patches, feel free
to apply them directly, otherwise please provide feedback.
No single patch out of these is very important though, most of them
only concern corner cases and don't matter in practice.
Arnd
Arnd Bergmann (22):
can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV
cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY
cpuidle: calxeda: select ARM_CPU_SUSPEND
staging/drm: imx: add missing dependencies
drm: always provide debugfs function prototypes
gpu/drm: host1x: add dependency on Tegra
drm/tilcd: select BACKLIGHT_LCD_SUPPORT
OMAPDSS: DPI needs DSI
crypto: lz4: don't build on ARM
mfd: ab8500: debugfs code depends on gpadc
iwlegacy: il_pm_ops is only provided for PM_SLEEP
thermal: cpu_cooling: fix stub function
staging/logger: use kuid_t internally
oprofile: always enable IRQ_WORK
USB: EHCI: remove bogus #error
USB: UHCI: clarify Kconfig dependencies
USB: OHCI: clarify Kconfig dependencies
Xen: SWIOTLB is only used on x86
staging/solo6x10: depend on CONFIG_FONTS
media: coda: select GENERIC_ALLOCATOR
davinci: vpfe_capture needs i2c
radio-si4713: depend on SND_SOC
arch/Kconfig | 1 +
crypto/Kconfig | 2 ++
drivers/cpufreq/Kconfig.arm | 1 +
drivers/cpuidle/Kconfig | 1 +
drivers/gpu/drm/tilcdc/Kconfig | 1 +
drivers/gpu/host1x/drm/Kconfig | 1 +
drivers/media/platform/Kconfig | 1 +
drivers/media/platform/davinci/Kconfig | 3 ++
drivers/media/radio/Kconfig | 1 +
drivers/mfd/Kconfig | 2 +-
drivers/net/can/Kconfig | 6 ++--
drivers/net/wireless/iwlegacy/common.h | 2 +-
drivers/staging/android/logger.c | 4 +--
drivers/staging/android/logger.h | 2 +-
drivers/staging/imx-drm/Kconfig | 4 +++
drivers/staging/media/solo6x10/Kconfig | 1 +
drivers/usb/host/Kconfig | 65 +++++++++++++++++++++++++++++-----
drivers/usb/host/Makefile | 4 +--
drivers/usb/host/ehci-hcd.c | 17 ---------
drivers/usb/host/ohci-hcd.c | 19 ----------
drivers/usb/host/uhci-hcd.c | 4 +--
drivers/video/console/Makefile | 2 ++
drivers/video/omap2/dss/Kconfig | 1 +
drivers/xen/Kconfig | 2 +-
include/drm/drmP.h | 3 +-
include/linux/cpu_cooling.h | 2 +-
26 files changed, 91 insertions(+), 61 deletions(-)
--
1.8.1.2
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Herbert Xu <herbert@gondor.hengli.com.au>
Cc: John W. Linville <linville@tuxdriver.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Robert Richter <rric@kernel.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: cpufreq@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-can@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: oprofile-list@lists.sf.net
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY
2013-05-02 15:16 [PATCH, RFC 00/22] ARM randconfig bugs Arnd Bergmann
@ 2013-05-02 15:16 ` Arnd Bergmann
2013-05-03 4:51 ` Viresh Kumar
2013-05-04 6:39 ` Viresh Kumar
2013-05-02 15:16 ` [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND Arnd Bergmann
2013-05-02 18:53 ` [PATCH, RFC 00/22] ARM randconfig bugs Rafael J. Wysocki
2 siblings, 2 replies; 12+ messages in thread
From: Arnd Bergmann @ 2013-05-02 15:16 UTC (permalink / raw)
To: linux-kernel
Cc: linux-arm-kernel, Arnd Bergmann, Rafael J. Wysocki, Viresh Kumar,
cpufreq, linux-pm
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 <rjw@sisk.pl>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: cpufreq@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/cpufreq/Kconfig.arm | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index f3af18b..3fd6bdf 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -10,6 +10,7 @@ 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
+ depends on ARM_CPU_TOPOLOGY
help
This enables the Generic CPUfreq driver for ARM big.LITTLE platform.
This gets frequency tables from DT.
--
1.8.1.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY
2013-05-02 15:16 ` [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY Arnd Bergmann
@ 2013-05-03 4:51 ` Viresh Kumar
2013-05-03 12:15 ` Rafael J. Wysocki
2013-05-04 6:39 ` Viresh Kumar
1 sibling, 1 reply; 12+ messages in thread
From: Viresh Kumar @ 2013-05-03 4:51 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-kernel, linux-arm-kernel, Rafael J. Wysocki, cpufreq,
linux-pm
On 2 May 2013 20:46, Arnd Bergmann <arnd@arndb.de> 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 <rjw@sisk.pl>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: cpufreq@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/cpufreq/Kconfig.arm | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> index f3af18b..3fd6bdf 100644
> --- a/drivers/cpufreq/Kconfig.arm
> +++ b/drivers/cpufreq/Kconfig.arm
> @@ -10,6 +10,7 @@ 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
> + depends on ARM_CPU_TOPOLOGY
> help
> This enables the Generic CPUfreq driver for ARM big.LITTLE platform.
> This gets frequency tables from DT.
This Kconfig thing has always been confusing to me. This is how the code looks
currently.
config ARM_BIG_LITTLE_CPUFREQ
tristate
depends on ARM_CPU_TOPOLOGY
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
help
This enables the Generic CPUfreq driver for ARM big.LITTLE platform.
This gets frequency tables from DT.
Because all ARM big LITTLE cpufreq stuff have dependency on
ARM_CPU_TOPOLOGY, i have added dependency at a common place. So that
we don't end up adding this in every glue layer driver. How should this be done?
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY
2013-05-03 4:51 ` Viresh Kumar
@ 2013-05-03 12:15 ` Rafael J. Wysocki
2013-05-03 13:01 ` Viresh Kumar
0 siblings, 1 reply; 12+ messages in thread
From: Rafael J. Wysocki @ 2013-05-03 12:15 UTC (permalink / raw)
To: Viresh Kumar
Cc: Arnd Bergmann, linux-kernel, linux-arm-kernel, cpufreq, linux-pm
On Friday, May 03, 2013 10:21:45 AM Viresh Kumar wrote:
> On 2 May 2013 20:46, Arnd Bergmann <arnd@arndb.de> 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 <rjw@sisk.pl>
> > Cc: Viresh Kumar <viresh.kumar@linaro.org>
> > Cc: cpufreq@vger.kernel.org
> > Cc: linux-pm@vger.kernel.org
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > ---
> > drivers/cpufreq/Kconfig.arm | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> > index f3af18b..3fd6bdf 100644
> > --- a/drivers/cpufreq/Kconfig.arm
> > +++ b/drivers/cpufreq/Kconfig.arm
> > @@ -10,6 +10,7 @@ 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
> > + depends on ARM_CPU_TOPOLOGY
> > help
> > This enables the Generic CPUfreq driver for ARM big.LITTLE platform.
> > This gets frequency tables from DT.
>
> This Kconfig thing has always been confusing to me. This is how the code looks
> currently.
>
> config ARM_BIG_LITTLE_CPUFREQ
> tristate
> depends on ARM_CPU_TOPOLOGY
>
> 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
> help
> This enables the Generic CPUfreq driver for ARM big.LITTLE platform.
> This gets frequency tables from DT.
>
> Because all ARM big LITTLE cpufreq stuff have dependency on
> ARM_CPU_TOPOLOGY, i have added dependency at a common place. So that
> we don't end up adding this in every glue layer driver. How should this be done?
First, there's no rule of thumb here as far as I can say.
In this particular case I think it is OK to make both ARM_DT_BL_CPUFREQ and
ARM_BIG_LITTLE_CPUFREQ depend on ARM_CPU_TOPOLOGY, because (in theory?) the
latter may be set without the former (unless you want to make ARM_DT_BL_CPUFREQ
depend on ARM_BIG_LITTLE_CPUFREQ, but then it may be kind of confusing to
users).
Thanks,
Rafael
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY
2013-05-03 12:15 ` Rafael J. Wysocki
@ 2013-05-03 13:01 ` Viresh Kumar
2013-05-03 19:27 ` Rafael J. Wysocki
0 siblings, 1 reply; 12+ messages in thread
From: Viresh Kumar @ 2013-05-03 13:01 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Arnd Bergmann, linux-kernel, linux-arm-kernel, cpufreq, linux-pm
On 3 May 2013 17:45, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> In this particular case I think it is OK to make both ARM_DT_BL_CPUFREQ and
> ARM_BIG_LITTLE_CPUFREQ depend on ARM_CPU_TOPOLOGY, because (in theory?) the
> latter may be set without the former (unless you want to make ARM_DT_BL_CPUFREQ
> depend on ARM_BIG_LITTLE_CPUFREQ, but then it may be kind of confusing to
> users).
ARM_BIG_LITTLE_CPUFREQ is the core cpufreq code for big LITTLE SoC's and every
other driver will be a glue providing ops to it. So, ARM_DT_BL_CPUFREQ
does depend
on ARM_BIG_LITTLE_CPUFREQ and that's why i added depends on
ARM_CPU_TOPOLOGY in ARM_BIG_LITTLE_CPUFREQ only and depends on
ARM_BIG_LITTLE_CPUFREQ in ARM_DT_BL_CPUFREQ.
But the problem is if ARM_DT_BL_CPUFREQ isn't selected then we still get
ARM_DT_BL_CPUFREQ enabled in menuconfig but a warning just before compilation.
Which Arnd pointed to..
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY
2013-05-03 13:01 ` Viresh Kumar
@ 2013-05-03 19:27 ` Rafael J. Wysocki
0 siblings, 0 replies; 12+ messages in thread
From: Rafael J. Wysocki @ 2013-05-03 19:27 UTC (permalink / raw)
To: Viresh Kumar
Cc: Arnd Bergmann, linux-kernel, linux-arm-kernel, cpufreq, linux-pm
On Friday, May 03, 2013 06:31:52 PM Viresh Kumar wrote:
> On 3 May 2013 17:45, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> > In this particular case I think it is OK to make both ARM_DT_BL_CPUFREQ and
> > ARM_BIG_LITTLE_CPUFREQ depend on ARM_CPU_TOPOLOGY, because (in theory?) the
> > latter may be set without the former (unless you want to make ARM_DT_BL_CPUFREQ
> > depend on ARM_BIG_LITTLE_CPUFREQ, but then it may be kind of confusing to
> > users).
>
> ARM_BIG_LITTLE_CPUFREQ is the core cpufreq code for big LITTLE SoC's and every
> other driver will be a glue providing ops to it. So, ARM_DT_BL_CPUFREQ
> does depend
> on ARM_BIG_LITTLE_CPUFREQ and that's why i added depends on
> ARM_CPU_TOPOLOGY in ARM_BIG_LITTLE_CPUFREQ only and depends on
> ARM_BIG_LITTLE_CPUFREQ in ARM_DT_BL_CPUFREQ.
I'm seeing "select" in there, which is kind of different from "depends on".
> But the problem is if ARM_DT_BL_CPUFREQ isn't selected then we still get
> ARM_DT_BL_CPUFREQ enabled in menuconfig but a warning just before compilation.
> Which Arnd pointed to..
What do you mean by "enabled in menuconfig"? Does it appear as an option to
select or is it actually selected?
In any case, I'm afraid adding ARM_CPU_TOPOLOGY to the "depends on" list in
ARM_DT_BL_CPUFREQ is the only way to avoid that particular warning.
Thanks,
Rafael
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY
2013-05-02 15:16 ` [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY Arnd Bergmann
2013-05-03 4:51 ` Viresh Kumar
@ 2013-05-04 6:39 ` Viresh Kumar
2013-05-08 0:26 ` Rafael J. Wysocki
1 sibling, 1 reply; 12+ messages in thread
From: Viresh Kumar @ 2013-05-04 6:39 UTC (permalink / raw)
To: Rafael J. Wysocki, Arnd Bergmann
Cc: linux-kernel, linux-arm-kernel, cpufreq, linux-pm
[-- Attachment #1: Type: text/plain, Size: 2446 bytes --]
On 2 May 2013 20:46, Arnd Bergmann <arnd@arndb.de> 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 <rjw@sisk.pl>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: cpufreq@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> 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 <viresh.kumar@linaro.org>
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 <arnd@arndb.de>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
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"
[-- Attachment #2: 0001-cpufreq-ARM-big-LITTLE-Fix-Kconfig-entries.patch --]
[-- Type: application/octet-stream, Size: 1866 bytes --]
From b31d40aef18da91c5f933db6d68f8b32b20033a2 Mon Sep 17 00:00:00 2001
Message-Id: <b31d40aef18da91c5f933db6d68f8b32b20033a2.1367649473.git.viresh.kumar@linaro.org>
From: Viresh Kumar <viresh.kumar@linaro.org>
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 <arnd@arndb.de>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
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"
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY
2013-05-04 6:39 ` Viresh Kumar
@ 2013-05-08 0:26 ` Rafael J. Wysocki
0 siblings, 0 replies; 12+ messages in thread
From: Rafael J. Wysocki @ 2013-05-08 0:26 UTC (permalink / raw)
To: Viresh Kumar
Cc: Arnd Bergmann, linux-kernel, linux-arm-kernel, cpufreq, linux-pm
On Saturday, May 04, 2013 12:09:40 PM Viresh Kumar wrote:
> On 2 May 2013 20:46, Arnd Bergmann <arnd@arndb.de> 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 <rjw@sisk.pl>
> > Cc: Viresh Kumar <viresh.kumar@linaro.org>
> > Cc: cpufreq@vger.kernel.org
> > Cc: linux-pm@vger.kernel.org
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > ---
> > 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 <viresh.kumar@linaro.org>
> 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 <arnd@arndb.de>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Queued up as a fix for v3.10.
Thanks,
Rafael
> ---
> 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"
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND
2013-05-02 15:16 [PATCH, RFC 00/22] ARM randconfig bugs Arnd Bergmann
2013-05-02 15:16 ` [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY Arnd Bergmann
@ 2013-05-02 15:16 ` Arnd Bergmann
2013-05-02 21:31 ` Daniel Lezcano
2013-05-07 21:42 ` Rob Herring
2013-05-02 18:53 ` [PATCH, RFC 00/22] ARM randconfig bugs Rafael J. Wysocki
2 siblings, 2 replies; 12+ messages in thread
From: Arnd Bergmann @ 2013-05-02 15:16 UTC (permalink / raw)
To: linux-kernel
Cc: linux-arm-kernel, Arnd Bergmann, Rafael J. Wysocki,
Daniel Lezcano, linux-pm
Like other ARM specific drivers, this one requires ARM_CPU_SUSPEND,
as shown by this linker error:
drivers/built-in.o: In function `calxeda_pwrdown_idle':
drivers/cpuidle/cpuidle-calxeda.c:84: undefined reference to `cpu_suspend'
drivers/cpuidle/cpuidle-calxeda.c:86: undefined reference to `cpu_resume'
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/cpuidle/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
index c4cc27e..e21cdfa 100644
--- a/drivers/cpuidle/Kconfig
+++ b/drivers/cpuidle/Kconfig
@@ -36,6 +36,7 @@ if CPU_IDLE
config CPU_IDLE_CALXEDA
bool "CPU Idle Driver for Calxeda processors"
depends on ARCH_HIGHBANK
+ select ARM_CPU_SUSPEND
help
Select this to enable cpuidle on Calxeda processors.
--
1.8.1.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND
2013-05-02 15:16 ` [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND Arnd Bergmann
@ 2013-05-02 21:31 ` Daniel Lezcano
2013-05-07 21:42 ` Rob Herring
1 sibling, 0 replies; 12+ messages in thread
From: Daniel Lezcano @ 2013-05-02 21:31 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-kernel, linux-arm-kernel, Rafael J. Wysocki, linux-pm
On 05/02/2013 05:16 PM, Arnd Bergmann wrote:
> Like other ARM specific drivers, this one requires ARM_CPU_SUSPEND,
> as shown by this linker error:
>
> drivers/built-in.o: In function `calxeda_pwrdown_idle':
> drivers/cpuidle/cpuidle-calxeda.c:84: undefined reference to `cpu_suspend'
> drivers/cpuidle/cpuidle-calxeda.c:86: undefined reference to `cpu_resume'
>
> Cc: Rafael J. Wysocki <rjw@sisk.pl>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
> ---
> drivers/cpuidle/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
> index c4cc27e..e21cdfa 100644
> --- a/drivers/cpuidle/Kconfig
> +++ b/drivers/cpuidle/Kconfig
> @@ -36,6 +36,7 @@ if CPU_IDLE
> config CPU_IDLE_CALXEDA
> bool "CPU Idle Driver for Calxeda processors"
> depends on ARCH_HIGHBANK
> + select ARM_CPU_SUSPEND
> help
> Select this to enable cpuidle on Calxeda processors.
>
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND
2013-05-02 15:16 ` [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND Arnd Bergmann
2013-05-02 21:31 ` Daniel Lezcano
@ 2013-05-07 21:42 ` Rob Herring
1 sibling, 0 replies; 12+ messages in thread
From: Rob Herring @ 2013-05-07 21:42 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-kernel, Rafael J. Wysocki, Daniel Lezcano, linux-arm-kernel,
linux-pm
On 05/02/2013 10:16 AM, Arnd Bergmann wrote:
> Like other ARM specific drivers, this one requires ARM_CPU_SUSPEND,
> as shown by this linker error:
>
> drivers/built-in.o: In function `calxeda_pwrdown_idle':
> drivers/cpuidle/cpuidle-calxeda.c:84: undefined reference to `cpu_suspend'
> drivers/cpuidle/cpuidle-calxeda.c:86: undefined reference to `cpu_resume'
>
> Cc: Rafael J. Wysocki <rjw@sisk.pl>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rob Herring <rob.herring@calxeda.com>
> ---
> drivers/cpuidle/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
> index c4cc27e..e21cdfa 100644
> --- a/drivers/cpuidle/Kconfig
> +++ b/drivers/cpuidle/Kconfig
> @@ -36,6 +36,7 @@ if CPU_IDLE
> config CPU_IDLE_CALXEDA
> bool "CPU Idle Driver for Calxeda processors"
> depends on ARCH_HIGHBANK
> + select ARM_CPU_SUSPEND
> help
> Select this to enable cpuidle on Calxeda processors.
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH, RFC 00/22] ARM randconfig bugs
2013-05-02 15:16 [PATCH, RFC 00/22] ARM randconfig bugs Arnd Bergmann
2013-05-02 15:16 ` [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY Arnd Bergmann
2013-05-02 15:16 ` [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND Arnd Bergmann
@ 2013-05-02 18:53 ` Rafael J. Wysocki
2 siblings, 0 replies; 12+ messages in thread
From: Rafael J. Wysocki @ 2013-05-02 18:53 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Viresh Kumar, dri-devel, oprofile-list, Samuel Ortiz,
Daniel Lezcano, cpufreq, Tomi Valkeinen, Alan Stern, Dave Airlie,
Zhang Rui, linux-media, Robert Richter, Konrad Rzeszutek Wilk,
John W. Linville, linux-can, Mauro Carvalho Chehab,
linux-arm-kernel, Greg Kroah-Hartman, linux-pm, linux-kernel,
Herbert Xu, Oliver Hartkopp
On Thursday, May 02, 2013 05:16:04 PM Arnd Bergmann wrote:
> Hi subsystem maintainers,
>
> This is a set of patches to to fix build errors I hit while trying to
> build lots of randconfig kernels on linux-next.
>
> Most of them are simple missing dependencies in Kconfig, but some are
> more substantial. I would like to see at least the obvious patches
> get merged for 3.10. If you are happy with the patches, feel free
> to apply them directly, otherwise please provide feedback.
>
> No single patch out of these is very important though, most of them
> only concern corner cases and don't matter in practice.
For cpufreq and cpuidle:
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> Arnd Bergmann (22):
> can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV
> cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY
> cpuidle: calxeda: select ARM_CPU_SUSPEND
> staging/drm: imx: add missing dependencies
> drm: always provide debugfs function prototypes
> gpu/drm: host1x: add dependency on Tegra
> drm/tilcd: select BACKLIGHT_LCD_SUPPORT
> OMAPDSS: DPI needs DSI
> crypto: lz4: don't build on ARM
> mfd: ab8500: debugfs code depends on gpadc
> iwlegacy: il_pm_ops is only provided for PM_SLEEP
> thermal: cpu_cooling: fix stub function
> staging/logger: use kuid_t internally
> oprofile: always enable IRQ_WORK
> USB: EHCI: remove bogus #error
> USB: UHCI: clarify Kconfig dependencies
> USB: OHCI: clarify Kconfig dependencies
> Xen: SWIOTLB is only used on x86
> staging/solo6x10: depend on CONFIG_FONTS
> media: coda: select GENERIC_ALLOCATOR
> davinci: vpfe_capture needs i2c
> radio-si4713: depend on SND_SOC
>
> arch/Kconfig | 1 +
> crypto/Kconfig | 2 ++
> drivers/cpufreq/Kconfig.arm | 1 +
> drivers/cpuidle/Kconfig | 1 +
> drivers/gpu/drm/tilcdc/Kconfig | 1 +
> drivers/gpu/host1x/drm/Kconfig | 1 +
> drivers/media/platform/Kconfig | 1 +
> drivers/media/platform/davinci/Kconfig | 3 ++
> drivers/media/radio/Kconfig | 1 +
> drivers/mfd/Kconfig | 2 +-
> drivers/net/can/Kconfig | 6 ++--
> drivers/net/wireless/iwlegacy/common.h | 2 +-
> drivers/staging/android/logger.c | 4 +--
> drivers/staging/android/logger.h | 2 +-
> drivers/staging/imx-drm/Kconfig | 4 +++
> drivers/staging/media/solo6x10/Kconfig | 1 +
> drivers/usb/host/Kconfig | 65 +++++++++++++++++++++++++++++-----
> drivers/usb/host/Makefile | 4 +--
> drivers/usb/host/ehci-hcd.c | 17 ---------
> drivers/usb/host/ohci-hcd.c | 19 ----------
> drivers/usb/host/uhci-hcd.c | 4 +--
> drivers/video/console/Makefile | 2 ++
> drivers/video/omap2/dss/Kconfig | 1 +
> drivers/xen/Kconfig | 2 +-
> include/drm/drmP.h | 3 +-
> include/linux/cpu_cooling.h | 2 +-
> 26 files changed, 91 insertions(+), 61 deletions(-)
>
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2013-05-08 0:18 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 15:16 [PATCH, RFC 00/22] ARM randconfig bugs Arnd Bergmann
2013-05-02 15:16 ` [PATCH, RFC 02/22] cpufreq: ARM_DT_BL_CPUFREQ needs ARM_CPU_TOPOLOGY Arnd Bergmann
2013-05-03 4:51 ` Viresh Kumar
2013-05-03 12:15 ` Rafael J. Wysocki
2013-05-03 13:01 ` Viresh Kumar
2013-05-03 19:27 ` Rafael J. Wysocki
2013-05-04 6:39 ` Viresh Kumar
2013-05-08 0:26 ` Rafael J. Wysocki
2013-05-02 15:16 ` [PATCH, RFC 03/22] cpuidle: calxeda: select ARM_CPU_SUSPEND Arnd Bergmann
2013-05-02 21:31 ` Daniel Lezcano
2013-05-07 21:42 ` Rob Herring
2013-05-02 18:53 ` [PATCH, RFC 00/22] ARM randconfig bugs Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).