* [PATCH 00/19] Enable various Renesas drivers on all ARM platforms @ 2013-10-28 23:46 Laurent Pinchart 2013-10-28 23:46 ` [PATCH 04/19] input: sh_keysc: Enable the driver " Laurent Pinchart ` (3 more replies) 0 siblings, 4 replies; 16+ messages in thread From: Laurent Pinchart @ 2013-10-28 23:46 UTC (permalink / raw) To: linux-sh Cc: linux-fbdev, Wolfram Sang, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd, linux-i2c, Vinod Koul, Joerg Roedel, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial, linux-input, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media, linux-pwm, Samuel Ortiz, linux-pm, Ian Molton, Mark Brown, linux-arm-kernel, Sergei Shtylyov <sergei.shtyly> Hello, This patch series, based on v3.12-rc7, prepares various Renesas drivers for migration to multiplatform kernels by enabling their compilation or otherwise fixing them on all ARM platforms. The patches are pretty straightforward and are described in their commit message. I'd like to get all these patches merged in v3.14. As they will need to go through their respective subsystems' trees, I would appreciate if all maintainers involved could notify me when they merge patches from this series in their tree to help me tracking the merge status. I don't plan to send pull requests individually for these patches, and I will repost patches individually if changes are requested during review. If you believe the issue should be solved in a different way (for instance by removing the architecture dependency completely) please reply to the cover letter to let other maintainers chime in. Cc: Chris Ball <cjb@laptop.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: David Woodhouse <dwmw2@infradead.org> Cc: dmaengine@vger.kernel.org Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Eduardo Valentin <eduardo.valentin@ti.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Cc: Ian Molton <ian@mnementh.co.uk> Cc: iommu@lists.linux-foundation.org Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: linux-fbdev@vger.kernel.org Cc: linux-i2c@vger.kernel.org Cc: linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: linux-mmc@vger.kernel.org Cc: linux-mtd@lists.infradead.org Cc: linux-pm@vger.kernel.org Cc: linux-pwm@vger.kernel.org Cc: linux-serial@vger.kernel.org Cc: linux-spi@vger.kernel.org Cc: Magnus Damm <magnus.damm@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: Mauro Carvalho Chehab <m.chehab@samsung.com> Cc: netdev@vger.kernel.org Cc: Samuel Ortiz <samuel@sortiz.org> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Vinod Koul <vinod.koul@intel.com> Cc: Wolfram Sang <wsa@the-dreams.de> Cc: Zhang Rui <rui.zhang@intel.com> Laurent Pinchart (19): serial: sh-sci: Enable the driver on all ARM platforms DMA: shdma: Enable the driver on all ARM platforms i2c: sh_mobile: Enable the driver on all ARM platforms input: sh_keysc: Enable the driver on all ARM platforms iommu: shmobile: Enable the driver on all ARM platforms i2c: rcar: Enable the driver on all ARM platforms v4l: sh_vou: Enable the driver on all ARM platforms mmc: sdhi: Enable the driver on all ARM platforms mmc: sh_mmcif: Enable the driver on all ARM platforms mtd: sh_flctl: Enable the driver on all ARM platforms net: sh_eth: Set receive alignment correctly on all ARM platforms irda: sh_irda: Enable the driver on all ARM platforms pinctrl: sh-pfc: Enable the driver on all ARM platforms pwm: pwm-renesas-tpu: Enable the driver on all ARM platforms sh: intc: Enable the driver on all ARM platforms spi: sh_msiof: Enable the driver on all ARM platforms spi: sh_hspi: Enable the driver on all ARM platforms thermal: rcar-thermal: Enable the driver on all ARM platforms fbdev: sh-mobile-lcdcfb: Enable the driver on all ARM platforms drivers/dma/sh/Kconfig | 2 +- drivers/dma/sh/shdmac.c | 6 +++--- drivers/i2c/busses/Kconfig | 4 ++-- drivers/input/keyboard/Kconfig | 2 +- drivers/iommu/Kconfig | 2 +- drivers/media/platform/Kconfig | 2 +- drivers/mmc/host/Kconfig | 4 ++-- drivers/mmc/host/tmio_mmc_dma.c | 2 +- drivers/mtd/nand/Kconfig | 2 +- drivers/net/ethernet/renesas/sh_eth.c | 2 +- drivers/net/ethernet/renesas/sh_eth.h | 2 +- drivers/net/irda/Kconfig | 2 +- drivers/pinctrl/Makefile | 2 +- drivers/pinctrl/sh-pfc/Kconfig | 2 +- drivers/pwm/Kconfig | 2 +- drivers/sh/intc/Kconfig | 2 +- drivers/spi/Kconfig | 4 ++-- drivers/thermal/Kconfig | 2 +- drivers/tty/serial/Kconfig | 2 +- drivers/video/Kconfig | 6 +++--- 20 files changed, 27 insertions(+), 27 deletions(-) -- Regards, Laurent Pinchart ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 04/19] input: sh_keysc: Enable the driver on all ARM platforms 2013-10-28 23:46 [PATCH 00/19] Enable various Renesas drivers on all ARM platforms Laurent Pinchart @ 2013-10-28 23:46 ` Laurent Pinchart 2013-10-29 6:04 ` [PATCH 00/19] Enable various Renesas drivers " Simon Horman ` (2 subsequent siblings) 3 siblings, 0 replies; 16+ messages in thread From: Laurent Pinchart @ 2013-10-28 23:46 UTC (permalink / raw) To: linux-sh; +Cc: linux-arm-kernel, Dmitry Torokhov, linux-input Renesas ARM platforms are transitioning from single-platform to multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the driver available on all ARM platforms to enable it on both ARCH_SHMOBILE and ARCH_SHMOBILE_MULTI and increase build testing coverage. Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: linux-input@vger.kernel.org Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> --- drivers/input/keyboard/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index c1edd39..7ac6a716e 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -525,7 +525,7 @@ config KEYBOARD_SUNKBD config KEYBOARD_SH_KEYSC tristate "SuperH KEYSC keypad support" - depends on SUPERH || ARCH_SHMOBILE + depends on SUPERH || ARM help Say Y here if you want to use a keypad attached to the KEYSC block on SuperH processors such as sh7722 and sh7343. -- 1.8.1.5 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-28 23:46 [PATCH 00/19] Enable various Renesas drivers on all ARM platforms Laurent Pinchart 2013-10-28 23:46 ` [PATCH 04/19] input: sh_keysc: Enable the driver " Laurent Pinchart @ 2013-10-29 6:04 ` Simon Horman 2013-10-29 16:04 ` Mark Brown 2013-10-29 9:12 ` Guennadi Liakhovetski 2013-10-29 16:28 ` Linus Walleij 3 siblings, 1 reply; 16+ messages in thread From: Simon Horman @ 2013-10-29 6:04 UTC (permalink / raw) To: Laurent Pinchart Cc: linux-fbdev, Wolfram Sang, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd, linux-i2c, Vinod Koul, Joerg Roedel, linux-sh, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial, linux-input, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media, linux-pwm, Samuel Ortiz, linux-pm, Ian Molton, Mark Brown, linux-arm-kernel, Ser On Tue, Oct 29, 2013 at 12:46:48AM +0100, Laurent Pinchart wrote: > Hello, > > This patch series, based on v3.12-rc7, prepares various Renesas drivers > for migration to multiplatform kernels by enabling their compilation or > otherwise fixing them on all ARM platforms. The patches are pretty > straightforward and are described in their commit message. > > I'd like to get all these patches merged in v3.14. As they will need to go > through their respective subsystems' trees, I would appreciate if all > maintainers involved could notify me when they merge patches from this series > in their tree to help me tracking the merge status. I don't plan to send pull > requests individually for these patches, and I will repost patches > individually if changes are requested during review. > > If you believe the issue should be solved in a different way (for instance by > removing the architecture dependency completely) please reply to the cover > letter to let other maintainers chime in. I think this is a step in a good direction. However, I think it would be even better if the architecture dependency was removed completely. > > Cc: Chris Ball <cjb@laptop.org> > Cc: "David S. Miller" <davem@davemloft.net> > Cc: David Woodhouse <dwmw2@infradead.org> > Cc: dmaengine@vger.kernel.org > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Cc: Eduardo Valentin <eduardo.valentin@ti.com> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> > Cc: Ian Molton <ian@mnementh.co.uk> > Cc: iommu@lists.linux-foundation.org > Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> > Cc: Joerg Roedel <joro@8bytes.org> > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: linux-fbdev@vger.kernel.org > Cc: linux-i2c@vger.kernel.org > Cc: linux-input@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-media@vger.kernel.org > Cc: linux-mmc@vger.kernel.org > Cc: linux-mtd@lists.infradead.org > Cc: linux-pm@vger.kernel.org > Cc: linux-pwm@vger.kernel.org > Cc: linux-serial@vger.kernel.org > Cc: linux-spi@vger.kernel.org > Cc: Magnus Damm <magnus.damm@gmail.com> > Cc: Mark Brown <broonie@kernel.org> > Cc: Mauro Carvalho Chehab <m.chehab@samsung.com> > Cc: netdev@vger.kernel.org > Cc: Samuel Ortiz <samuel@sortiz.org> > Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > Cc: Thierry Reding <thierry.reding@gmail.com> > Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> > Cc: Vinod Koul <vinod.koul@intel.com> > Cc: Wolfram Sang <wsa@the-dreams.de> > Cc: Zhang Rui <rui.zhang@intel.com> > > Laurent Pinchart (19): > serial: sh-sci: Enable the driver on all ARM platforms > DMA: shdma: Enable the driver on all ARM platforms > i2c: sh_mobile: Enable the driver on all ARM platforms > input: sh_keysc: Enable the driver on all ARM platforms > iommu: shmobile: Enable the driver on all ARM platforms > i2c: rcar: Enable the driver on all ARM platforms > v4l: sh_vou: Enable the driver on all ARM platforms > mmc: sdhi: Enable the driver on all ARM platforms > mmc: sh_mmcif: Enable the driver on all ARM platforms > mtd: sh_flctl: Enable the driver on all ARM platforms > net: sh_eth: Set receive alignment correctly on all ARM platforms > irda: sh_irda: Enable the driver on all ARM platforms > pinctrl: sh-pfc: Enable the driver on all ARM platforms > pwm: pwm-renesas-tpu: Enable the driver on all ARM platforms > sh: intc: Enable the driver on all ARM platforms > spi: sh_msiof: Enable the driver on all ARM platforms > spi: sh_hspi: Enable the driver on all ARM platforms > thermal: rcar-thermal: Enable the driver on all ARM platforms > fbdev: sh-mobile-lcdcfb: Enable the driver on all ARM platforms > > drivers/dma/sh/Kconfig | 2 +- > drivers/dma/sh/shdmac.c | 6 +++--- > drivers/i2c/busses/Kconfig | 4 ++-- > drivers/input/keyboard/Kconfig | 2 +- > drivers/iommu/Kconfig | 2 +- > drivers/media/platform/Kconfig | 2 +- > drivers/mmc/host/Kconfig | 4 ++-- > drivers/mmc/host/tmio_mmc_dma.c | 2 +- > drivers/mtd/nand/Kconfig | 2 +- > drivers/net/ethernet/renesas/sh_eth.c | 2 +- > drivers/net/ethernet/renesas/sh_eth.h | 2 +- > drivers/net/irda/Kconfig | 2 +- > drivers/pinctrl/Makefile | 2 +- > drivers/pinctrl/sh-pfc/Kconfig | 2 +- > drivers/pwm/Kconfig | 2 +- > drivers/sh/intc/Kconfig | 2 +- > drivers/spi/Kconfig | 4 ++-- > drivers/thermal/Kconfig | 2 +- > drivers/tty/serial/Kconfig | 2 +- > drivers/video/Kconfig | 6 +++--- > 20 files changed, 27 insertions(+), 27 deletions(-) > > -- > Regards, > > Laurent Pinchart > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-29 6:04 ` [PATCH 00/19] Enable various Renesas drivers " Simon Horman @ 2013-10-29 16:04 ` Mark Brown [not found] ` <20131029160449.GD16686-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> 0 siblings, 1 reply; 16+ messages in thread From: Mark Brown @ 2013-10-29 16:04 UTC (permalink / raw) To: Simon Horman Cc: linux-fbdev, Wolfram Sang, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd, linux-i2c, Laurent Pinchart, Vinod Koul, Joerg Roedel, linux-sh, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial, linux-input, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media, linux-pwm, Samuel Ortiz, linux-pm, Ian Molton, linux-arm-ker [-- Attachment #1.1: Type: text/plain, Size: 223 bytes --] On Tue, Oct 29, 2013 at 03:04:27PM +0900, Simon Horman wrote: > I think this is a step in a good direction. > However, I think it would be even better if the architecture dependency was > removed completely. Yes, please. [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 176 bytes --] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <20131029160449.GD16686-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>]
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms [not found] ` <20131029160449.GD16686-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> @ 2013-10-29 17:05 ` Laurent Pinchart 2013-10-29 17:23 ` Mark Brown 0 siblings, 1 reply; 16+ messages in thread From: Laurent Pinchart @ 2013-10-29 17:05 UTC (permalink / raw) To: Mark Brown Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA, Wolfram Sang, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-i2c-u79uwXL29TY76Z2rM5mHXA, Laurent Pinchart, ed.com-i9wRM+HIrmnmtl4Z8vJ8Kg761KYD1DLY, Vinod Koul, linux-sh-u79uwXL29TY76Z2rM5mHXA, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial-u79uwXL29TY76Z2rM5mHXA, linux-input-u79uwXL29TY76Z2rM5mHXA, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media-u79uwXL29TY76Z2rM5mHXA, linux-pwm-u79uwXL29TY76Z2rM5mHXA, Samuel Ortiz, linux-pm-u79uwXL29TY76Z2rM5mHXA, Ian Molton, Simon [-- Attachment #1.1: Type: text/plain, Size: 1030 bytes --] Hi Mark, On Tuesday 29 October 2013 09:04:49 Mark Brown wrote: > On Tue, Oct 29, 2013 at 03:04:27PM +0900, Simon Horman wrote: > > I think this is a step in a good direction. > > However, I think it would be even better if the architecture dependency > > was removed completely. > > Yes, please. I've kept it for two reasons. The first one is that I can't compile-test all those drivers on all architectures. The spi-sh-msiof driver, for instance, uses io(read|write)(16| 32) which are not available on all architectures. There might be other similar problems that I can't catch, and I don't want to introduce build breakages in the kernel. The second reason is that, as the IP cores have never been used on anything but SuperH and ARM, I don't like the idea of clobbering the config process with drivers that are useless on the target architecture. Now that we have a COMPILE_TEST Kconfig option, my preference would thus go to SUPERH || ARM || COMPILE_TEST over no dependency at all. -- Regards, Laurent Pinchart [-- Attachment #1.2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 490 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-29 17:05 ` Laurent Pinchart @ 2013-10-29 17:23 ` Mark Brown [not found] ` <20131029172331.GA20251-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> 0 siblings, 1 reply; 16+ messages in thread From: Mark Brown @ 2013-10-29 17:23 UTC (permalink / raw) To: Laurent Pinchart Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA, Wolfram Sang, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-i2c-u79uwXL29TY76Z2rM5mHXA, Laurent Pinchart, Vinod Koul, linux-sh-u79uwXL29TY76Z2rM5mHXA, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial-u79uwXL29TY76Z2rM5mHXA, linux-input-u79uwXL29TY76Z2rM5mHXA, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media-u79uwXL29TY76Z2rM5mHXA, linux-pwm-u79uwXL29TY76Z2rM5mHXA, Samuel Ortiz, linux-pm-u79uwXL29TY76Z2rM5mHXA, Ian Molton, Simon Horman, linux-arm [-- Attachment #1.1: Type: text/plain, Size: 1082 bytes --] On Tue, Oct 29, 2013 at 06:05:53PM +0100, Laurent Pinchart wrote: > The first one is that I can't compile-test all those drivers on all > architectures. The spi-sh-msiof driver, for instance, uses io(read|write)(16| Which architectures are these and is there not a symbol we can depend on for them? > 32) which are not available on all architectures. There might be other similar > problems that I can't catch, and I don't want to introduce build breakages in > the kernel. This is easy enough to handle if we do run into issues, it seems better to get things available than try to step through architecture by architecture. > The second reason is that, as the IP cores have never been used on anything > but SuperH and ARM, I don't like the idea of clobbering the config process > with drivers that are useless on the target architecture. Now that we have a > COMPILE_TEST Kconfig option, my preference would thus go to SUPERH || ARM || > COMPILE_TEST over no dependency at all. That's not what you did, though - you're not adding COMPILE_TEST. [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <20131029172331.GA20251-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>]
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms [not found] ` <20131029172331.GA20251-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> @ 2013-10-29 17:29 ` Laurent Pinchart 2013-10-29 17:58 ` Mark Brown 0 siblings, 1 reply; 16+ messages in thread From: Laurent Pinchart @ 2013-10-29 17:29 UTC (permalink / raw) To: Mark Brown Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA, Wolfram Sang, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-i2c-u79uwXL29TY76Z2rM5mHXA, Laurent Pinchart, ed.com-i9wRM+HIrmnmtl4Z8vJ8Kg761KYD1DLY, Vinod Koul, linux-sh-u79uwXL29TY76Z2rM5mHXA, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial-u79uwXL29TY76Z2rM5mHXA, linux-input-u79uwXL29TY76Z2rM5mHXA, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media-u79uwXL29TY76Z2rM5mHXA, linux-pwm-u79uwXL29TY76Z2rM5mHXA, Samuel Ortiz, linux-pm-u79uwXL29TY76Z2rM5mHXA, Ian Molton, Simon [-- Attachment #1.1: Type: text/plain, Size: 1752 bytes --] Hi Mark, On Tuesday 29 October 2013 10:23:31 Mark Brown wrote: > On Tue, Oct 29, 2013 at 06:05:53PM +0100, Laurent Pinchart wrote: > > The first one is that I can't compile-test all those drivers on all > > architectures. The spi-sh-msiof driver, for instance, uses > > io(read|write)(16| > > Which architectures are these and is there not a symbol we can depend on > for them? arch/cris for instance. We can use readl/writel instead (maybe it would be time to rationalize and document the I/O accessors across all architectures, but that's another topic). My point is that there might be other issues that I won't be able to easily catch. This would break compilation for everybody for no reason, as the drivers are useless on non-SuperH, non-ARM platforms. That's why I believe COMPILE_TEST would be a better option as a first step. > > 32) which are not available on all architectures. There might be other > > similar problems that I can't catch, and I don't want to introduce build > > breakages in the kernel. > > This is easy enough to handle if we do run into issues, it seems better to > get things available than try to step through architecture by architecture. > > > The second reason is that, as the IP cores have never been used on > > anything but SuperH and ARM, I don't like the idea of clobbering the > > config process with drivers that are useless on the target architecture. > > Now that we have a COMPILE_TEST Kconfig option, my preference would thus > > go to SUPERH || ARM || COMPILE_TEST over no dependency at all. > > That's not what you did, though - you're not adding COMPILE_TEST. No, but I can add it :-) If this gets agreed upon, I'll respin the series with || COMPILE_TEST. -- Regards, Laurent Pinchart [-- Attachment #1.2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 490 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-29 17:29 ` Laurent Pinchart @ 2013-10-29 17:58 ` Mark Brown 2013-10-30 0:05 ` Simon Horman 0 siblings, 1 reply; 16+ messages in thread From: Mark Brown @ 2013-10-29 17:58 UTC (permalink / raw) To: Laurent Pinchart Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA, Wolfram Sang, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-i2c-u79uwXL29TY76Z2rM5mHXA, Laurent Pinchart, Vinod Koul, linux-sh-u79uwXL29TY76Z2rM5mHXA, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial-u79uwXL29TY76Z2rM5mHXA, linux-input-u79uwXL29TY76Z2rM5mHXA, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media-u79uwXL29TY76Z2rM5mHXA, linux-pwm-u79uwXL29TY76Z2rM5mHXA, Samuel Ortiz, linux-pm-u79uwXL29TY76Z2rM5mHXA, Ian Molton, Simon Horman, linux-arm [-- Attachment #1.1: Type: text/plain, Size: 1213 bytes --] On Tue, Oct 29, 2013 at 06:29:59PM +0100, Laurent Pinchart wrote: > On Tuesday 29 October 2013 10:23:31 Mark Brown wrote: > > On Tue, Oct 29, 2013 at 06:05:53PM +0100, Laurent Pinchart wrote: > > > The first one is that I can't compile-test all those drivers on all > > > architectures. The spi-sh-msiof driver, for instance, uses > > > io(read|write)(16| > > Which architectures are these and is there not a symbol we can depend on > > for them? > arch/cris for instance. We can use readl/writel instead (maybe it would be > time to rationalize and document the I/O accessors across all architectures, > but that's another topic). It'd certainly be sensible, or adding a config option to depend on if you rely on these functions. > My point is that there might be other issues that I won't be able to easily > catch. This would break compilation for everybody for no reason, as the > drivers are useless on non-SuperH, non-ARM platforms. That's why I believe > COMPILE_TEST would be a better option as a first step. Yes, it would - please do that. Note that it won't stop anyone running into build issues on other architectures though, it's just about stopping Kconfig noise. [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-29 17:58 ` Mark Brown @ 2013-10-30 0:05 ` Simon Horman 2013-10-30 10:59 ` Tomi Valkeinen 0 siblings, 1 reply; 16+ messages in thread From: Simon Horman @ 2013-10-30 0:05 UTC (permalink / raw) To: Mark Brown Cc: linux-fbdev, Wolfram Sang, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd, Laurent Pinchart, Laurent Pinchart, Vinod Koul, Joerg Roedel, linux-sh, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial, linux-input, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media, linux-pwm, Samuel Ortiz, linux-pm, Ian Molton On Tue, Oct 29, 2013 at 10:58:34AM -0700, Mark Brown wrote: > On Tue, Oct 29, 2013 at 06:29:59PM +0100, Laurent Pinchart wrote: > > On Tuesday 29 October 2013 10:23:31 Mark Brown wrote: > > > On Tue, Oct 29, 2013 at 06:05:53PM +0100, Laurent Pinchart wrote: > > > > The first one is that I can't compile-test all those drivers on all > > > > architectures. The spi-sh-msiof driver, for instance, uses > > > > io(read|write)(16| > > > > Which architectures are these and is there not a symbol we can depend on > > > for them? > > > arch/cris for instance. We can use readl/writel instead (maybe it would be > > time to rationalize and document the I/O accessors across all architectures, > > but that's another topic). > > It'd certainly be sensible, or adding a config option to depend on if > you rely on these functions. > > > My point is that there might be other issues that I won't be able to easily > > catch. This would break compilation for everybody for no reason, as the > > drivers are useless on non-SuperH, non-ARM platforms. That's why I believe > > COMPILE_TEST would be a better option as a first step. > > Yes, it would - please do that. Note that it won't stop anyone running > into build issues on other architectures though, it's just about > stopping Kconfig noise. FWIW, I am happy with using COMPILE_TEST for this series. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-30 0:05 ` Simon Horman @ 2013-10-30 10:59 ` Tomi Valkeinen 0 siblings, 0 replies; 16+ messages in thread From: Tomi Valkeinen @ 2013-10-30 10:59 UTC (permalink / raw) To: Simon Horman, Mark Brown, Laurent Pinchart Cc: linux-fbdev, Wolfram Sang, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd, linux-i2c, Laurent Pinchart, Vinod Koul, Joerg Roedel, linux-sh, Magnus Damm, Eduardo Valentin, linux-serial, linux-input, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media, linux-pwm, Samuel Ortiz, linux-pm, Ian Molton, linux-arm-kernel, Sergei [-- Attachment #1.1: Type: text/plain, Size: 1640 bytes --] On 2013-10-30 02:05, Simon Horman wrote: > On Tue, Oct 29, 2013 at 10:58:34AM -0700, Mark Brown wrote: >> On Tue, Oct 29, 2013 at 06:29:59PM +0100, Laurent Pinchart wrote: >>> On Tuesday 29 October 2013 10:23:31 Mark Brown wrote: >>>> On Tue, Oct 29, 2013 at 06:05:53PM +0100, Laurent Pinchart wrote: >>>>> The first one is that I can't compile-test all those drivers on all >>>>> architectures. The spi-sh-msiof driver, for instance, uses >>>>> io(read|write)(16| >> >>>> Which architectures are these and is there not a symbol we can depend on >>>> for them? >> >>> arch/cris for instance. We can use readl/writel instead (maybe it would be >>> time to rationalize and document the I/O accessors across all architectures, >>> but that's another topic). >> >> It'd certainly be sensible, or adding a config option to depend on if >> you rely on these functions. >> >>> My point is that there might be other issues that I won't be able to easily >>> catch. This would break compilation for everybody for no reason, as the >>> drivers are useless on non-SuperH, non-ARM platforms. That's why I believe >>> COMPILE_TEST would be a better option as a first step. >> >> Yes, it would - please do that. Note that it won't stop anyone running >> into build issues on other architectures though, it's just about >> stopping Kconfig noise. > > FWIW, I am happy with using COMPILE_TEST for this series. I'd also go for COMPILE_TEST. I once enabled omapdss and omapfb to be compilable without any extra dependencies, and Linus wasn't fond of getting asked if he wants to compile omapfb or not... Tomi [-- Attachment #1.2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 901 bytes --] [-- Attachment #2: Type: text/plain, Size: 144 bytes --] ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-28 23:46 [PATCH 00/19] Enable various Renesas drivers on all ARM platforms Laurent Pinchart 2013-10-28 23:46 ` [PATCH 04/19] input: sh_keysc: Enable the driver " Laurent Pinchart 2013-10-29 6:04 ` [PATCH 00/19] Enable various Renesas drivers " Simon Horman @ 2013-10-29 9:12 ` Guennadi Liakhovetski [not found] ` <Pine.LNX.4.64.1310291009121.8404-0199iw4Nj15frtckUFj5Ag@public.gmane.org> 2013-10-29 13:06 ` Artem Bityutskiy 2013-10-29 16:28 ` Linus Walleij 3 siblings, 2 replies; 16+ messages in thread From: Guennadi Liakhovetski @ 2013-10-29 9:12 UTC (permalink / raw) To: Laurent Pinchart Cc: linux-fbdev, linux-sh, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd, linux-i2c, Vinod Koul, Joerg Roedel, Wolfram Sang, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial, linux-input, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media, linux-pwm, Samuel Ortiz, linux-pm, Ian Molton, Mark Brown, linux-arm-kernel, Ser Hi Laurent On Tue, 29 Oct 2013, Laurent Pinchart wrote: > Hello, > > This patch series, based on v3.12-rc7, prepares various Renesas drivers > for migration to multiplatform kernels by enabling their compilation or > otherwise fixing them on all ARM platforms. The patches are pretty > straightforward and are described in their commit message. > > I'd like to get all these patches merged in v3.14. As they will need to go > through their respective subsystems' trees, I would appreciate if all > maintainers involved could notify me when they merge patches from this series > in their tree to help me tracking the merge status. I don't plan to send pull > requests individually for these patches, and I will repost patches > individually if changes are requested during review. > > If you believe the issue should be solved in a different way (for instance by > removing the architecture dependency completely) please reply to the cover > letter to let other maintainers chime in. Exactly this was my doubt. If we let these drivers build on all ARM platforms... Maybe we should just let them build everywhere? Unless there are real ARM dependencies. Maybe you could try to remove the restriction and try to build them all on x86? Thanks Guennadi > > Cc: Chris Ball <cjb@laptop.org> > Cc: "David S. Miller" <davem@davemloft.net> > Cc: David Woodhouse <dwmw2@infradead.org> > Cc: dmaengine@vger.kernel.org > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Cc: Eduardo Valentin <eduardo.valentin@ti.com> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> > Cc: Ian Molton <ian@mnementh.co.uk> > Cc: iommu@lists.linux-foundation.org > Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> > Cc: Joerg Roedel <joro@8bytes.org> > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: linux-fbdev@vger.kernel.org > Cc: linux-i2c@vger.kernel.org > Cc: linux-input@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-media@vger.kernel.org > Cc: linux-mmc@vger.kernel.org > Cc: linux-mtd@lists.infradead.org > Cc: linux-pm@vger.kernel.org > Cc: linux-pwm@vger.kernel.org > Cc: linux-serial@vger.kernel.org > Cc: linux-spi@vger.kernel.org > Cc: Magnus Damm <magnus.damm@gmail.com> > Cc: Mark Brown <broonie@kernel.org> > Cc: Mauro Carvalho Chehab <m.chehab@samsung.com> > Cc: netdev@vger.kernel.org > Cc: Samuel Ortiz <samuel@sortiz.org> > Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > Cc: Thierry Reding <thierry.reding@gmail.com> > Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> > Cc: Vinod Koul <vinod.koul@intel.com> > Cc: Wolfram Sang <wsa@the-dreams.de> > Cc: Zhang Rui <rui.zhang@intel.com> > > Laurent Pinchart (19): > serial: sh-sci: Enable the driver on all ARM platforms > DMA: shdma: Enable the driver on all ARM platforms > i2c: sh_mobile: Enable the driver on all ARM platforms > input: sh_keysc: Enable the driver on all ARM platforms > iommu: shmobile: Enable the driver on all ARM platforms > i2c: rcar: Enable the driver on all ARM platforms > v4l: sh_vou: Enable the driver on all ARM platforms > mmc: sdhi: Enable the driver on all ARM platforms > mmc: sh_mmcif: Enable the driver on all ARM platforms > mtd: sh_flctl: Enable the driver on all ARM platforms > net: sh_eth: Set receive alignment correctly on all ARM platforms > irda: sh_irda: Enable the driver on all ARM platforms > pinctrl: sh-pfc: Enable the driver on all ARM platforms > pwm: pwm-renesas-tpu: Enable the driver on all ARM platforms > sh: intc: Enable the driver on all ARM platforms > spi: sh_msiof: Enable the driver on all ARM platforms > spi: sh_hspi: Enable the driver on all ARM platforms > thermal: rcar-thermal: Enable the driver on all ARM platforms > fbdev: sh-mobile-lcdcfb: Enable the driver on all ARM platforms > > drivers/dma/sh/Kconfig | 2 +- > drivers/dma/sh/shdmac.c | 6 +++--- > drivers/i2c/busses/Kconfig | 4 ++-- > drivers/input/keyboard/Kconfig | 2 +- > drivers/iommu/Kconfig | 2 +- > drivers/media/platform/Kconfig | 2 +- > drivers/mmc/host/Kconfig | 4 ++-- > drivers/mmc/host/tmio_mmc_dma.c | 2 +- > drivers/mtd/nand/Kconfig | 2 +- > drivers/net/ethernet/renesas/sh_eth.c | 2 +- > drivers/net/ethernet/renesas/sh_eth.h | 2 +- > drivers/net/irda/Kconfig | 2 +- > drivers/pinctrl/Makefile | 2 +- > drivers/pinctrl/sh-pfc/Kconfig | 2 +- > drivers/pwm/Kconfig | 2 +- > drivers/sh/intc/Kconfig | 2 +- > drivers/spi/Kconfig | 4 ++-- > drivers/thermal/Kconfig | 2 +- > drivers/tty/serial/Kconfig | 2 +- > drivers/video/Kconfig | 6 +++--- > 20 files changed, 27 insertions(+), 27 deletions(-) > > -- > Regards, > > Laurent Pinchart > --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <Pine.LNX.4.64.1310291009121.8404-0199iw4Nj15frtckUFj5Ag@public.gmane.org>]
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms [not found] ` <Pine.LNX.4.64.1310291009121.8404-0199iw4Nj15frtckUFj5Ag@public.gmane.org> @ 2013-10-29 9:46 ` Laurent Pinchart 0 siblings, 0 replies; 16+ messages in thread From: Laurent Pinchart @ 2013-10-29 9:46 UTC (permalink / raw) To: Guennadi Liakhovetski Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-i2c-u79uwXL29TY76Z2rM5mHXA, Laurent Pinchart, Vinod Koul, Wolfram Sang, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial-u79uwXL29TY76Z2rM5mHXA, linux-input-u79uwXL29TY76Z2rM5mHXA, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media-u79uwXL29TY76Z2rM5mHXA, linux-pwm-u79uwXL29TY76Z2rM5mHXA, Samuel Ortiz, linux-pm-u79uwXL29TY76Z2rM5mHXA, Ian Molton, Mark Brown, linux-arm-k Hi Simon and Guennadi, On Tuesday 29 October 2013 10:12:17 Guennadi Liakhovetski wrote: > On Tue, 29 Oct 2013, Laurent Pinchart wrote: > > Hello, > > > > This patch series, based on v3.12-rc7, prepares various Renesas drivers > > for migration to multiplatform kernels by enabling their compilation or > > otherwise fixing them on all ARM platforms. The patches are pretty > > straightforward and are described in their commit message. > > > > I'd like to get all these patches merged in v3.14. As they will need to go > > through their respective subsystems' trees, I would appreciate if all > > maintainers involved could notify me when they merge patches from this > > series in their tree to help me tracking the merge status. I don't plan > > to send pull requests individually for these patches, and I will repost > > patches individually if changes are requested during review. > > > > If you believe the issue should be solved in a different way (for instance > > by removing the architecture dependency completely) please reply to the > > cover letter to let other maintainers chime in. > > Exactly this was my doubt. If we let these drivers build on all ARM > platforms... Maybe we should just let them build everywhere? Unless there > are real ARM dependencies. Maybe you could try to remove the restriction > and try to build them all on x86? My concern is that they might not build on some architectures for which I don't have a cross-compiler. For instance not all architecture define ioread32 and iowrite32, which some drivers might rely on. What about depending on SUPERH || ARM || COMPILE_TEST to start with, in order not to push compilation breakages to mainline ? > > Cc: Chris Ball <cjb-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org> > > Cc: "David S. Miller" <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org> > > Cc: David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> > > Cc: dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: Dmitry Torokhov <dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > Cc: Eduardo Valentin <eduardo.valentin-l0cyMroinI0@public.gmane.org> > > Cc: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org> > > Cc: Guennadi Liakhovetski <g.liakhovetski+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > Cc: Ian Molton <ian-zdned+2MO1+9FHfhHBbuYA@public.gmane.org> > > Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > > Cc: Jean-Christophe Plagniol-Villard <plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org> > > Cc: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org> > > Cc: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> > > Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > > Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: linux-pwm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: Magnus Damm <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > Cc: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> > > Cc: Mauro Carvalho Chehab <m.chehab-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> > > Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > Cc: Samuel Ortiz <samuel-jcdQHdrhKHMdnm+yROfE0A@public.gmane.org> > > Cc: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> > > Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > Cc: Tomi Valkeinen <tomi.valkeinen-l0cyMroinI0@public.gmane.org> > > Cc: Vinod Koul <vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> > > Cc: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org> > > Cc: Zhang Rui <rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> > > > > Laurent Pinchart (19): > > serial: sh-sci: Enable the driver on all ARM platforms > > DMA: shdma: Enable the driver on all ARM platforms > > i2c: sh_mobile: Enable the driver on all ARM platforms > > input: sh_keysc: Enable the driver on all ARM platforms > > iommu: shmobile: Enable the driver on all ARM platforms > > i2c: rcar: Enable the driver on all ARM platforms > > v4l: sh_vou: Enable the driver on all ARM platforms > > mmc: sdhi: Enable the driver on all ARM platforms > > mmc: sh_mmcif: Enable the driver on all ARM platforms > > mtd: sh_flctl: Enable the driver on all ARM platforms > > net: sh_eth: Set receive alignment correctly on all ARM platforms > > irda: sh_irda: Enable the driver on all ARM platforms > > pinctrl: sh-pfc: Enable the driver on all ARM platforms > > pwm: pwm-renesas-tpu: Enable the driver on all ARM platforms > > sh: intc: Enable the driver on all ARM platforms > > spi: sh_msiof: Enable the driver on all ARM platforms > > spi: sh_hspi: Enable the driver on all ARM platforms > > thermal: rcar-thermal: Enable the driver on all ARM platforms > > fbdev: sh-mobile-lcdcfb: Enable the driver on all ARM platforms > > > > drivers/dma/sh/Kconfig | 2 +- > > drivers/dma/sh/shdmac.c | 6 +++--- > > drivers/i2c/busses/Kconfig | 4 ++-- > > drivers/input/keyboard/Kconfig | 2 +- > > drivers/iommu/Kconfig | 2 +- > > drivers/media/platform/Kconfig | 2 +- > > drivers/mmc/host/Kconfig | 4 ++-- > > drivers/mmc/host/tmio_mmc_dma.c | 2 +- > > drivers/mtd/nand/Kconfig | 2 +- > > drivers/net/ethernet/renesas/sh_eth.c | 2 +- > > drivers/net/ethernet/renesas/sh_eth.h | 2 +- > > drivers/net/irda/Kconfig | 2 +- > > drivers/pinctrl/Makefile | 2 +- > > drivers/pinctrl/sh-pfc/Kconfig | 2 +- > > drivers/pwm/Kconfig | 2 +- > > drivers/sh/intc/Kconfig | 2 +- > > drivers/spi/Kconfig | 4 ++-- > > drivers/thermal/Kconfig | 2 +- > > drivers/tty/serial/Kconfig | 2 +- > > drivers/video/Kconfig | 6 +++--- > > 20 files changed, 27 insertions(+), 27 deletions(-) -- Regards, Laurent Pinchart ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-29 9:12 ` Guennadi Liakhovetski [not found] ` <Pine.LNX.4.64.1310291009121.8404-0199iw4Nj15frtckUFj5Ag@public.gmane.org> @ 2013-10-29 13:06 ` Artem Bityutskiy [not found] ` <1383051980.29619.33.camel-Bxnoe/o8FG+Ef9UqXRslZEEOCMrvLtNR@public.gmane.org> 1 sibling, 1 reply; 16+ messages in thread From: Artem Bityutskiy @ 2013-10-29 13:06 UTC (permalink / raw) To: Guennadi Liakhovetski Cc: linux-fbdev, linux-sh, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd, linux-i2c, Laurent Pinchart, Vinod Koul, Joerg Roedel, Wolfram Sang, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial, linux-input, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media, linux-pwm, Samuel Ortiz, linux-pm, Ian Molton On Tue, 2013-10-29 at 10:12 +0100, Guennadi Liakhovetski wrote: > Hi Laurent > > On Tue, 29 Oct 2013, Laurent Pinchart wrote: > > > Hello, > > > > This patch series, based on v3.12-rc7, prepares various Renesas drivers > > for migration to multiplatform kernels by enabling their compilation or > > otherwise fixing them on all ARM platforms. The patches are pretty > > straightforward and are described in their commit message. > > > > I'd like to get all these patches merged in v3.14. As they will need to go > > through their respective subsystems' trees, I would appreciate if all > > maintainers involved could notify me when they merge patches from this series > > in their tree to help me tracking the merge status. I don't plan to send pull > > requests individually for these patches, and I will repost patches > > individually if changes are requested during review. > > > > If you believe the issue should be solved in a different way (for instance by > > removing the architecture dependency completely) please reply to the cover > > letter to let other maintainers chime in. > > Exactly this was my doubt. If we let these drivers build on all ARM > platforms... Maybe we should just let them build everywhere? Unless there > are real ARM dependencies. Maybe you could try to remove the restriction > and try to build them all on x86? If they have never been used on anything but ARM, why would you remove ARM dependencies? Just for the sake of compile-checking? Also, if ARM dependency is ever removed, all these should become 'n' by default in the Kconfig, in order to make sure they do not slip into defconfigs of different architectures. -- Best Regards, Artem Bityutskiy ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <1383051980.29619.33.camel-Bxnoe/o8FG+Ef9UqXRslZEEOCMrvLtNR@public.gmane.org>]
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms [not found] ` <1383051980.29619.33.camel-Bxnoe/o8FG+Ef9UqXRslZEEOCMrvLtNR@public.gmane.org> @ 2013-10-29 13:22 ` Laurent Pinchart 2013-10-29 13:54 ` Artem Bityutskiy 0 siblings, 1 reply; 16+ messages in thread From: Laurent Pinchart @ 2013-10-29 13:22 UTC (permalink / raw) To: dedekind1-Re5JQEeQqe8AvxtiuMwx3w Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-i2c-u79uwXL29TY76Z2rM5mHXA, Laurent Pinchart, David S. Miller, Vinod Koul, Wolfram Sang, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial-u79uwXL29TY76Z2rM5mHXA, linux-input-u79uwXL29TY76Z2rM5mHXA, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media-u79uwXL29TY76Z2rM5mHXA, linux-pwm-u79uwXL29TY76Z2rM5mHXA, Samuel Ortiz, linux-pm-u79uwXL29TY76Z2rM5mHXA, Ian Molton, Mark Hi Artem, On Tuesday 29 October 2013 15:06:20 Artem Bityutskiy wrote: > On Tue, 2013-10-29 at 10:12 +0100, Guennadi Liakhovetski wrote: > > On Tue, 29 Oct 2013, Laurent Pinchart wrote: > > > Hello, > > > > > > This patch series, based on v3.12-rc7, prepares various Renesas drivers > > > for migration to multiplatform kernels by enabling their compilation or > > > otherwise fixing them on all ARM platforms. The patches are pretty > > > straightforward and are described in their commit message. > > > > > > I'd like to get all these patches merged in v3.14. As they will need to > > > go through their respective subsystems' trees, I would appreciate if all > > > maintainers involved could notify me when they merge patches from this > > > series in their tree to help me tracking the merge status. I don't plan > > > to send pull requests individually for these patches, and I will repost > > > patches individually if changes are requested during review. > > > > > > If you believe the issue should be solved in a different way (for > > > instance by removing the architecture dependency completely) please > > > reply to the cover letter to let other maintainers chime in. > > > > Exactly this was my doubt. If we let these drivers build on all ARM > > platforms... Maybe we should just let them build everywhere? Unless there > > are real ARM dependencies. Maybe you could try to remove the restriction > > and try to build them all on x86? > > If they have never been used on anything but ARM, why would you remove > ARM dependencies? Just for the sake of compile-checking? > > Also, if ARM dependency is ever removed, all these should become 'n' by > default in the Kconfig, in order to make sure they do not slip into > defconfigs of different architectures. The idea is that, if ARM is neither a compile-time nor runtime dependency, it should not be specified in Kconfig. However, if the IP core has never been used on anything but SuperH and ARM, I don't think clobbering the config process with drivers that can't be used on the target architecture would be a really good idea, especially now that we have a COMPILE_TEST Kconfig option. My preference does goes to SUPERH || ARM || COMPILE_TEST over no dependency at all. -- Regards, Laurent Pinchart ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-29 13:22 ` Laurent Pinchart @ 2013-10-29 13:54 ` Artem Bityutskiy 0 siblings, 0 replies; 16+ messages in thread From: Artem Bityutskiy @ 2013-10-29 13:54 UTC (permalink / raw) To: Laurent Pinchart Cc: linux-fbdev, linux-sh, Linus Walleij, Guennadi Liakhovetski, Thierry Reding, linux-mtd, linux-i2c, Laurent Pinchart, David S. Miller, Vinod Koul, Joerg Roedel, Wolfram Sang, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial, linux-input, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media, linux-pwm, Samuel Ortiz, linux-pm, Ian On Tue, 2013-10-29 at 14:22 +0100, Laurent Pinchart wrote: > > Also, if ARM dependency is ever removed, all these should become 'n' by > > default in the Kconfig, in order to make sure they do not slip into > > defconfigs of different architectures. > > The idea is that, if ARM is neither a compile-time nor runtime dependency, it > should not be specified in Kconfig. However, if the IP core has never been > used on anything but SuperH and ARM, I don't think clobbering the config > process with drivers that can't be used on the target architecture would be a > really good idea, especially now that we have a COMPILE_TEST Kconfig option. > My preference does goes to SUPERH || ARM || COMPILE_TEST over no dependency at > all. Ah, OK, I missed the entire COMPILE_TEST story. -- Best Regards, Artem Bityutskiy ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 00/19] Enable various Renesas drivers on all ARM platforms 2013-10-28 23:46 [PATCH 00/19] Enable various Renesas drivers on all ARM platforms Laurent Pinchart ` (2 preceding siblings ...) 2013-10-29 9:12 ` Guennadi Liakhovetski @ 2013-10-29 16:28 ` Linus Walleij 3 siblings, 0 replies; 16+ messages in thread From: Linus Walleij @ 2013-10-29 16:28 UTC (permalink / raw) To: Laurent Pinchart Cc: linux-fbdev@vger.kernel.org, linux-sh@vger.kernel.org, Guennadi Liakhovetski, Thierry Reding, linux-mtd@lists.infradead.org, linux-i2c@vger.kernel.org, Vinod Koul, Joerg Roedel, Wolfram Sang, Magnus Damm, Eduardo Valentin, Tomi Valkeinen, linux-serial@vger.kernel.org, Linux Input, Zhang Rui, Chris Ball, Jean-Christophe Plagniol-Villard, linux-media@vger.kernel.org On Mon, Oct 28, 2013 at 4:46 PM, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> wrote: > If you believe the issue should be solved in a different way (for instance by > removing the architecture dependency completely) please reply to the cover > letter to let other maintainers chime in. I have no real opinions on whether this is a good itermediate step towards complete arch-independence or not, but I just noticed that you still have the <mach/*> hierarchy in mach-shmobile/include/mach/*, and grep:ing around this seems totally unnecessary, I think it would be easy to produce a patch set eliminating <mach/*> from shmobile. (Usually we will just move all the headers down into the mach-shmobile folder.) Yours, Linus Walleij ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2013-10-30 10:59 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-10-28 23:46 [PATCH 00/19] Enable various Renesas drivers on all ARM platforms Laurent Pinchart 2013-10-28 23:46 ` [PATCH 04/19] input: sh_keysc: Enable the driver " Laurent Pinchart 2013-10-29 6:04 ` [PATCH 00/19] Enable various Renesas drivers " Simon Horman 2013-10-29 16:04 ` Mark Brown [not found] ` <20131029160449.GD16686-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> 2013-10-29 17:05 ` Laurent Pinchart 2013-10-29 17:23 ` Mark Brown [not found] ` <20131029172331.GA20251-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> 2013-10-29 17:29 ` Laurent Pinchart 2013-10-29 17:58 ` Mark Brown 2013-10-30 0:05 ` Simon Horman 2013-10-30 10:59 ` Tomi Valkeinen 2013-10-29 9:12 ` Guennadi Liakhovetski [not found] ` <Pine.LNX.4.64.1310291009121.8404-0199iw4Nj15frtckUFj5Ag@public.gmane.org> 2013-10-29 9:46 ` Laurent Pinchart 2013-10-29 13:06 ` Artem Bityutskiy [not found] ` <1383051980.29619.33.camel-Bxnoe/o8FG+Ef9UqXRslZEEOCMrvLtNR@public.gmane.org> 2013-10-29 13:22 ` Laurent Pinchart 2013-10-29 13:54 ` Artem Bityutskiy 2013-10-29 16:28 ` Linus Walleij
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).