Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Shawn Guo
On Tue, Apr 30, 2013 at 01:04:20PM +0200, Arnd Bergmann wrote: arch/arm/mach-imx/hotplug.c: In function 'imx_cpu_die': arch/arm/mach-imx/hotplug.c:53:2: error: implicit declaration of function 'cpu_do_idle' arch/arm/mach-imx/hotplug.c: In function 'imx_cpu_kill':

[Patch 0/3] Fix to clk framework while handling orphan clks

2013-05-02 Thread Ambresh K
From: Ambresh K ambr...@ti.com On a possible HW bug or in-correct configuration of clk_sel bits in bootloaders, there are high probablity of returning a value greater than available parent clocks for a MUX clk. Sensing invalid parent index, clk_mux_get_parent returns -EINVALID. Due to

[Patch 1/3] clk: fix clk_mux_get_parent return's signed value

2013-05-02 Thread Ambresh K
From: Ambresh K ambr...@ti.com If for some reason, the value read from clksel field return erroneous due to HW bug or improper configuration, then clk_mux_get_parent should return appropriate error's. Currently if the value read is greater than the number of available parents clk_mux_get_parent

[Patch 2/3] clk: skip re-parenting orphan clk

2013-05-02 Thread Ambresh K
From: Ambresh K ambr...@ti.com If clk is same as orphan clk than skip the iteration, there by avoiding unnecessary look-up. Signed-off-by: Ambresh K ambr...@ti.com --- drivers/clk/clk.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/clk/clk.c

[Patch 3/3] clk: Avoid re-parenting orphan clk's having invalid parent index.

2013-05-02 Thread Ambresh K
From: Ambresh K ambr...@ti.com Add orhan clk nodes having invalid parent index to list and use the list to skip re-parenting orphan clk having invalid parents. Signed-off-by: Ambresh K ambr...@ti.com --- drivers/clk/clk.c | 21 +++-- 1 files changed, 19 insertions(+), 2

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Russell King - ARM Linux
On Tue, Apr 30, 2013 at 09:17:39AM +0100, Russell King - ARM Linux wrote: Latest nightly build of 3.9+my for-next+arm-soc's for-next results in a great load of new warnings and errors. arch/arm/common/mcpm_head.S, arch/arm/common/mcpm_platsmp.c, arch/arm/common/vlock.S are the biggest source

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Russell King - ARM Linux
On Tue, Apr 30, 2013 at 02:18:42PM -0400, Nicolas Pitre wrote: On Tue, 30 Apr 2013, Dave Martin wrote: On Tue, Apr 30, 2013 at 11:12:12AM -0400, Nicolas Pitre wrote: On Tue, 30 Apr 2013, Dave Martin wrote: On Tue, Apr 30, 2013 at 01:04:20PM +0200, Arnd Bergmann wrote: On

[v3, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-02 Thread Gupta, Pekon
From: avinash philip avinashphi...@ti.com NAND flash connected in am335x-evm on GPMC controller. This patch adds device tree node in am3355-evm with GPMC contoller timing for NAND flash interface, NAND partition table, ECC scheme, elm handle id. Signed-off-by: Philip Avinash avinashphi...@ti.com

RE: [v3, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-02 Thread Hiremath, Vaibhav
-Original Message- From: Gupta, Pekon Sent: Thursday, May 02, 2013 2:18 PM To: Gupta, Pekon; Cousson, Benoit; t...@atomide.com; li...@arm.linux.org.uk Cc: Philip, Avinash; linux-omap@vger.kernel.org; devicetree- disc...@lists.ozlabs.org; linux-arm-ker...@lists.infradead.org; linux-

[PATCH v3, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-02 Thread Gupta, Pekon
From: Philip Avinash avinashphi...@ti.com NAND flash connected in am335x-evm on GPMC controller. This patch adds device tree node in am3355-evm with GPMC contoller timing for NAND flash interface, NAND partition table, ECC scheme, elm handle id. Signed-off-by: Philip Avinash avinashphi...@ti.com

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Russell King - ARM Linux
On Thu, May 02, 2013 at 09:34:30AM +0100, Russell King - ARM Linux wrote: On Tue, Apr 30, 2013 at 02:18:42PM -0400, Nicolas Pitre wrote: On Tue, 30 Apr 2013, Dave Martin wrote: On Tue, Apr 30, 2013 at 11:12:12AM -0400, Nicolas Pitre wrote: On Tue, 30 Apr 2013, Dave Martin wrote:

Re: [Patch 2/3] clk: skip re-parenting orphan clk

2013-05-02 Thread skannan
Ambresh K wrote: From: Ambresh K ambr...@ti.com If clk is same as orphan clk than skip the iteration, there Typo: than = then by avoiding unnecessary look-up. Signed-off-by: Ambresh K ambr...@ti.com --- drivers/clk/clk.c |4 1 files changed, 4 insertions(+), 0 deletions(-)

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Dave Martin
On Thu, May 02, 2013 at 10:46:21AM +0100, Russell King - ARM Linux wrote: On Thu, May 02, 2013 at 09:34:30AM +0100, Russell King - ARM Linux wrote: On Tue, Apr 30, 2013 at 02:18:42PM -0400, Nicolas Pitre wrote: On Tue, 30 Apr 2013, Dave Martin wrote: On Tue, Apr 30, 2013 at

[net-next PATCH 1/1] drivers: net: cpsw: irq not disabled in cpsw isr in particular sequence

2013-05-02 Thread Mugunthan V N
In CPSW NAPI, after processing all interrupts IRQ is enabled and then book keeping irq_enabled is updated. In random cases when a packet is transmitted or received between processing packets and IRQ enabled, then just after enabled IRQ and before irq_enabled is updated, ISR is called so IRQs are

[PATCH 0/5] drivers: bus: omap_l3: Conversion to devm_*

2013-05-02 Thread Peter Ujfalusi
Hi, Cleanup of platform probe and remove (removing the remove function at the end) with converting the driver to use the devm_* versions kzalloc, ioremap and request_irq. Regards, Peter --- Peter Ujfalusi (5): drivers: bus: omap_l3: Convert to use devm_kzalloc drivers: bus: omap_l3: Convert

[PATCH 2/5] drivers: bus: omap_l3: Convert to use devm_request_and_ioremap()

2013-05-02 Thread Peter Ujfalusi
We can then remove the iounmap() calls from probe and remove. Since the driver requests the resources via index we can do the mem resource request within a for loop. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/bus/omap_l3_noc.c | 63

[PATCH 5/5] drivers: bus: omap_l3: Change pr_crit() to dev_err() when IRQ request fails

2013-05-02 Thread Peter Ujfalusi
Use dev_err() which will going to print the driver's name as well and the KERN_ERR level is sufficient in this case (we also print via dev_err when there is an error with the mem resources) Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/bus/omap_l3_noc.c | 7 +++ 1 file

[PATCH 4/5] drivers: bus: omap_l3: Remove the platform driver's remove function

2013-05-02 Thread Peter Ujfalusi
It is NOP after the devm_* conversion. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/bus/omap_l3_noc.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c index 2bbc87b..ed428ad 100644 --- a/drivers/bus/omap_l3_noc.c

[PATCH 1/5] drivers: bus: omap_l3: Convert to use devm_kzalloc

2013-05-02 Thread Peter Ujfalusi
We can remove the kfree() calls from probe and remove. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/bus/omap_l3_noc.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c index feeecae..d25d727

[PATCH 3/5] drivers: bus: omap_l3: Convert to use devm_request_irq()

2013-05-02 Thread Peter Ujfalusi
With this we can remove the free_irq() calls from probe and remove. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/bus/omap_l3_noc.c | 23 +-- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c

Re: [net-next PATCH 1/1] drivers: net: cpsw: irq not disabled in cpsw isr in particular sequence

2013-05-02 Thread Sebastian Andrzej Siewior
* Mugunthan V N | 2013-05-02 17:22:11 [+0530]: In CPSW NAPI, after processing all interrupts IRQ is enabled and then book keeping irq_enabled is updated. In random cases when a packet is transmitted or received between processing packets and IRQ enabled, then just after enabled IRQ and before

[GIT PULL] omap display fixes for 3.10

2013-05-02 Thread Tomi Valkeinen
Hi Dave, Here are a few omapdss fixes for 3.10. These are based on top of the earlier pull request I sent. The first patch is a compilation fix, the rest implement basic support for deferred probing. Support for deferred probing is needed when booting with device tree, as the probing order with

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [130502 01:27]: On Tue, Apr 30, 2013 at 09:17:39AM +0100, Russell King - ARM Linux wrote: Latest nightly build of 3.9+my for-next+arm-soc's for-next results in a great load of new warnings and errors. arch/arm/common/mcpm_head.S,

[PATCH] ARM: OMAP-USB: Fix possible memory leak

2013-05-02 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/mach-omap2/usb-host.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c index aa27d7f..8d17a0d 100644 ---

Re: [PATCH] ARM: OMAP-USB: Fix possible memory leak

2013-05-02 Thread Nishanth Menon
On 20:03-20130502, Alexander Shiyan wrote: Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/mach-omap2/usb-host.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c index

Re[2]: [PATCH] ARM: OMAP-USB: Fix possible memory leak

2013-05-02 Thread Alexander Shiyan
On 20:03-20130502, Alexander Shiyan wrote: Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/mach-omap2/usb-host.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c

Re: [PATCH] ARM: OMAP-USB: Fix possible memory leak

2013-05-02 Thread Felipe Balbi
Hi, On Thu, May 02, 2013 at 08:28:44PM +0400, Alexander Shiyan wrote: On 20:03-20130502, Alexander Shiyan wrote: Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/mach-omap2/usb-host.c | 21 + 1 file changed, 17 insertions(+), 4 deletions

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Eduardo Valentin
Arnd, Tony, On 02-05-2013 11:38, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [130502 01:27]: On Tue, Apr 30, 2013 at 09:17:39AM +0100, Russell King - ARM Linux wrote: Latest nightly build of 3.9+my for-next+arm-soc's for-next results in a great load of new warnings

[PATCH v3 4/5] ARM: dts: OMAP4460: Add device nodes for ABB

2013-05-02 Thread Nishanth Menon
From: Andrii.Tseglytskyi andrii.tseglyts...@ti.com Add ABB device nodes for OMAP4460 device Data is based on OMAP4460 Technical Reference Manual revision Z (April 2013) [n...@ti.com: co-developer] Signed-off-by: Nishanth Menon n...@ti.com Signed-off-by: Andrii.Tseglytskyi

[PATCH v3 3/5] ARM: dts: OMAP443x: Add device nodes for ABB

2013-05-02 Thread Nishanth Menon
From: Andrii.Tseglytskyi andrii.tseglyts...@ti.com Add ABB device nodes for OMAP443x family of devices. abb_iva is populated, but disabled as it is not used on current OMAP443x family, but the node is used on OMAP446x family. Data is based on OMAP443x Technical Reference Manual revision AN (April

[PATCH v3 5/5] ARM: dts: OMAP5: Add device nodes for ABB

2013-05-02 Thread Nishanth Menon
From: Andrii.Tseglytskyi andrii.tseglyts...@ti.com Add ABB device nodes for OMAP5 family of devices. Data is based on OMAP543x Technical Reference Manual revision U (April 2013). NOTE: clock node has been disabled in this patch due to the lack of OMAP5 clock data. [n...@ti.com: co-developer]

[PATCH v3 1/5] regulator: Introduce TI Adaptive Body Bias(ABB) on-chip LDO driver

2013-05-02 Thread Nishanth Menon
From: Andrii.Tseglytskyi andrii.tseglyts...@ti.com Adaptive Body Biasing (ABB) modulates transistor bias voltages dynamically in order to optimize switching speed versus leakage. Texas Instruments' SmartReflex 2 technology provides support for this power management technique with Forward Body

[PATCH v3 0/5] regulator/OMAP: Support TI Adaptive Body Bias(ABB) on-chip LDO driver

2013-05-02 Thread Nishanth Menon
Adaptive Body Biasing (ABB) modulates transistor bias voltages dynamically in order to optimize switching speed versus leakage. Texas Instruments' SoC processors have an on chip LDO subsystem which is part of the SmartReflex 2 technology and provides support for this power management technique

[PATCH v3 2/5] ARM: dts: OMAP36xx: Add device node for ABB

2013-05-02 Thread Nishanth Menon
From: Andrii.Tseglytskyi andrii.tseglyts...@ti.com Add ABB device node for OMAP36xx family of devices. Data is based on OMAP36XX Technical Reference Manual revision AB (Dec 2012). [n...@ti.com: co-developer] Signed-off-by: Nishanth Menon n...@ti.com Signed-off-by: Andrii.Tseglytskyi

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Arnd Bergmann
On Thursday 02 May 2013, Eduardo Valentin wrote: index e3c0ae9..e3f3cba 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -250,12 +250,6 @@ void thermal_unregister_governor(struct thermal_governor *); #ifdef CONFIG_NET extern int thermal_generate_netlink_event(struct

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Felipe Balbi
Hi, On Thu, May 02, 2013 at 01:07:49PM -0400, Eduardo Valentin wrote: Arnd, Tony, On 02-05-2013 11:38, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [130502 01:27]: On Tue, Apr 30, 2013 at 09:17:39AM +0100, Russell King - ARM Linux wrote: Latest nightly build of

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Eduardo Valentin
On 02-05-2013 14:03, Arnd Bergmann wrote: On Thursday 02 May 2013, Eduardo Valentin wrote: index e3c0ae9..e3f3cba 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -250,12 +250,6 @@ void thermal_unregister_governor(struct thermal_governor *); #ifdef CONFIG_NET extern

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Eduardo Valentin
On 02-05-2013 14:06, Felipe Balbi wrote: Hi, On Thu, May 02, 2013 at 01:07:49PM -0400, Eduardo Valentin wrote: Arnd, Tony, On 02-05-2013 11:38, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [130502 01:27]: On Tue, Apr 30, 2013 at 09:17:39AM +0100, Russell King -

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Russell King - ARM Linux
On Thu, May 02, 2013 at 08:38:34AM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [130502 01:27]: On Tue, Apr 30, 2013 at 09:17:39AM +0100, Russell King - ARM Linux wrote: Latest nightly build of 3.9+my for-next+arm-soc's for-next results in a great load of

Re: [GIT PULL] mailbox driver framework for v3.10 merge window

2013-05-02 Thread Suman Anna
Hi Arnd, On 04/28/2013 11:07 PM, Jassi Brar wrote: Hello Arnd, On 9 April 2013 16:25, Arnd Bergmann a...@arndb.de wrote: On Thursday 04 April 2013, Anna, Suman wrote: OMAP and ST-Ericsson platforms are both using mailbox to communicate with some coprocessors. This series creates a

Re: [PATCH] ARM: OMAP-USB: Fix possible memory leak

2013-05-02 Thread Russell King - ARM Linux
On Thu, May 02, 2013 at 07:40:58PM +0300, Felipe Balbi wrote: Hi, On Thu, May 02, 2013 at 08:28:44PM +0400, Alexander Shiyan wrote: On 20:03-20130502, Alexander Shiyan wrote: Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/mach-omap2/usb-host.c | 21

Re: [GIT PULL] mailbox driver framework for v3.10 merge window

2013-05-02 Thread Jassi Brar
On 3 May 2013 03:39, Suman Anna s-a...@ti.com wrote: Hi Arnd, On 04/28/2013 11:07 PM, Jassi Brar wrote: Not to mean only talk and no do, I prepared another proposal that addressed all the concerns shared so far in the RFC http://www.spinics.net/lists/kernel/msg1523873.html (its not ready