* [PATCH, RFC 00/22] ARM randconfig bugs
@ 2013-05-02 15:16 Arnd Bergmann
2013-05-02 15:16 ` [PATCH, RFC 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV Arnd Bergmann
2013-05-02 18:53 ` [PATCH, RFC 00/22] ARM randconfig bugs Rafael J. Wysocki
0 siblings, 2 replies; 6+ 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] 6+ messages in thread
* [PATCH, RFC 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV
2013-05-02 15:16 [PATCH, RFC 00/22] ARM randconfig bugs Arnd Bergmann
@ 2013-05-02 15:16 ` Arnd Bergmann
2013-05-03 9:53 ` Marc Kleine-Budde
2013-05-02 18:53 ` [PATCH, RFC 00/22] ARM randconfig bugs Rafael J. Wysocki
1 sibling, 1 reply; 6+ messages in thread
From: Arnd Bergmann @ 2013-05-02 15:16 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-arm-kernel, Arnd Bergmann, Oliver Hartkopp, linux-can
CONFIG_HAVE_CAN_FLEXCAN is a silect symbol that is meant to be selected
by platforms that support this driver, but that is not possible without
also selecting CAN_DEV, unless we move it out of the "if CAN_DEV"
section of the Kconfig file.
warning: (SOC_IMX28 && SOC_IMX25 && SOC_IMX35 &&
IMX_HAVE_PLATFORM_FLEXCAN && SOC_IMX53 && SOC_IMX6Q) selects HAVE_CAN_FLEXCAN
which has unmet direct dependencies (NET && CAN && CAN_DEV)
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: linux-can@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/net/can/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index e456b70..3941a7d 100644
--- a/drivers/net/can/Kconfig
+++ b/drivers/net/can/Kconfig
@@ -29,6 +29,9 @@ config CAN_SLCAN
can be changed by the 'maxdev=xx' module option. This driver can
also be built as a module. If so, the module will be called slcan.
+config HAVE_CAN_FLEXCAN
+ bool
+
config CAN_DEV
tristate "Platform CAN drivers with Netlink support"
default y
@@ -102,9 +105,6 @@ config CAN_JANZ_ICAN3
This driver can also be built as a module. If so, the module will be
called janz-ican3.ko.
-config HAVE_CAN_FLEXCAN
- bool
-
config CAN_FLEXCAN
tristate "Support for Freescale FLEXCAN based chips"
depends on HAVE_CAN_FLEXCAN
--
1.8.1.2
^ permalink raw reply related [flat|nested] 6+ 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 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV Arnd Bergmann
@ 2013-05-02 18:53 ` Rafael J. Wysocki
1 sibling, 0 replies; 6+ 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] 6+ messages in thread
* Re: [PATCH, RFC 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV
2013-05-02 15:16 ` [PATCH, RFC 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV Arnd Bergmann
@ 2013-05-03 9:53 ` Marc Kleine-Budde
2013-05-03 15:24 ` Arnd Bergmann
0 siblings, 1 reply; 6+ messages in thread
From: Marc Kleine-Budde @ 2013-05-03 9:53 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-kernel, linux-arm-kernel, Oliver Hartkopp, linux-can
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]
On 05/02/2013 05:16 PM, Arnd Bergmann wrote:
> CONFIG_HAVE_CAN_FLEXCAN is a silect symbol that is meant to be selected
> by platforms that support this driver, but that is not possible without
> also selecting CAN_DEV, unless we move it out of the "if CAN_DEV"
> section of the Kconfig file.
>
> warning: (SOC_IMX28 && SOC_IMX25 && SOC_IMX35 &&
> IMX_HAVE_PLATFORM_FLEXCAN && SOC_IMX53 && SOC_IMX6Q) selects HAVE_CAN_FLEXCAN
> which has unmet direct dependencies (NET && CAN && CAN_DEV)
With the advent of multi platform kernels I like to get rid of
HAVE_CAN_FLEXCAN completely.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH, RFC 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV
2013-05-03 9:53 ` Marc Kleine-Budde
@ 2013-05-03 15:24 ` Arnd Bergmann
2013-05-07 9:18 ` Marc Kleine-Budde
0 siblings, 1 reply; 6+ messages in thread
From: Arnd Bergmann @ 2013-05-03 15:24 UTC (permalink / raw)
To: Marc Kleine-Budde
Cc: linux-kernel, linux-arm-kernel, Oliver Hartkopp, linux-can
On Friday 03 May 2013, Marc Kleine-Budde wrote:
> On 05/02/2013 05:16 PM, Arnd Bergmann wrote:
> > CONFIG_HAVE_CAN_FLEXCAN is a silect symbol that is meant to be selected
> > by platforms that support this driver, but that is not possible without
> > also selecting CAN_DEV, unless we move it out of the "if CAN_DEV"
> > section of the Kconfig file.
> >
> > warning: (SOC_IMX28 && SOC_IMX25 && SOC_IMX35 &&
> > IMX_HAVE_PLATFORM_FLEXCAN && SOC_IMX53 && SOC_IMX6Q) selects HAVE_CAN_FLEXCAN
> > which has unmet direct dependencies (NET && CAN && CAN_DEV)
>
> With the advent of multi platform kernels I like to get rid of
> HAVE_CAN_FLEXCAN completely.
Yes, good idea. Are there any other dependencies we need to add then?
I assume FLEXCAN needs to depend on HAS_IOMEM and OF at least, but
there might be more.
Arnd
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH, RFC 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV
2013-05-03 15:24 ` Arnd Bergmann
@ 2013-05-07 9:18 ` Marc Kleine-Budde
0 siblings, 0 replies; 6+ messages in thread
From: Marc Kleine-Budde @ 2013-05-07 9:18 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-kernel, linux-arm-kernel, Oliver Hartkopp, linux-can
[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]
On 05/03/2013 05:24 PM, Arnd Bergmann wrote:
> On Friday 03 May 2013, Marc Kleine-Budde wrote:
>> On 05/02/2013 05:16 PM, Arnd Bergmann wrote:
>>> CONFIG_HAVE_CAN_FLEXCAN is a silect symbol that is meant to be selected
>>> by platforms that support this driver, but that is not possible without
>>> also selecting CAN_DEV, unless we move it out of the "if CAN_DEV"
>>> section of the Kconfig file.
>>>
>>> warning: (SOC_IMX28 && SOC_IMX25 && SOC_IMX35 &&
>>> IMX_HAVE_PLATFORM_FLEXCAN && SOC_IMX53 && SOC_IMX6Q) selects HAVE_CAN_FLEXCAN
>>> which has unmet direct dependencies (NET && CAN && CAN_DEV)
>>
>> With the advent of multi platform kernels I like to get rid of
>> HAVE_CAN_FLEXCAN completely.
>
> Yes, good idea. Are there any other dependencies we need to add then?
> I assume FLEXCAN needs to depend on HAS_IOMEM and OF at least, but
> there might be more.
The driver compiles (tested on SH and blacksfin) and works without
CONFIG_OF (on non DT arm platforms).
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-05-07 9:18 UTC | newest]
Thread overview: 6+ 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 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV Arnd Bergmann
2013-05-03 9:53 ` Marc Kleine-Budde
2013-05-03 15:24 ` Arnd Bergmann
2013-05-07 9:18 ` Marc Kleine-Budde
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).