Re: ARM errata 430973 on multi platform kernels

2015-04-24 Thread Matthijs van Duin
On 23 April 2015 at 12:25, Russell King - ARM Linux li...@arm.linux.org.uk wrote: And you can't detect whether you're running in secure mode or not. If not, you get an undefined instruction exception, which you could trap. This may not be convenient, but can't detect is an overstatement.

Re: [PATCH 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-24 Thread Ulf Hansson
On 23 April 2015 at 10:33, Rajendra Nayak rna...@codeaurora.org wrote: Most users of PM clocks do the exact same thing in runtime callbacks. Provide default callbacks and cleanup the existing users (keystone/davinci /omap1/sh) Rajendra Nayak (5): PM / clock_ops: Provide default runtime ops

Re: [PATCH V2] drivers/rtc/rtc-ds1307.c: Enable the mcp794xx alarm after programming time

2015-04-24 Thread Alexandre Belloni
On 22/04/2015 at 19:04:52 -0500, Nishanth Menon wrote : I fully agree that your patch doesn't change the behaviour for the other cases you presented and further clean up is to be done in a separate set of patches. Sure, Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com

Re: [PATCH] mmc: core: add missing pm event in mmc_pm_notify to fix hib restore

2015-04-24 Thread grygorii.stras...@linaro.org
On 04/23/2015 04:19 PM, Ulf Hansson wrote: On 23 April 2015 at 12:43, grygorii.stras...@linaro.org wrote: From: Grygorii Strashko grygorii.stras...@linaro.org The PM_RESTORE_PREPARE is not handled now in mmc_pm_notify(), as result mmc_rescan() could be scheduled and executed at late

Re: [PATCH 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-24 Thread Rafael J. Wysocki
On Thursday, April 23, 2015 02:03:08 PM Rajendra Nayak wrote: Most users of PM clocks do the exact same thing in runtime callbacks. Provide default callbacks and cleanup the existing users (keystone/davinci /omap1/sh) Rajendra Nayak (5): PM / clock_ops: Provide default runtime ops to

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Nishanth Menon
On 04/24/2015 12:54 PM, Suman Anna wrote: The L3 Error handling on OMAP5 for the most part is very similar to that of OMAP4, and had leveraged common data structures and register layout definitions so far. Upon closer inspection, there are a few minor differences causing an incorrect decoding

Re: Enabling IPU on OMAP44xx

2015-04-24 Thread Nishanth Menon
On 04/24/2015 11:21 AM, Jack Mitchell wrote: I've been fighting for a week with trying to get the IPU booted over remoteproc on an OMAP4470. I feel like I've got most of the way there we do not have support for OMAP4470 on git.kernel.org. If you are interested in TI vendor kernel support,

Re: [PATCH] gpio: omap: Allow building as a loadable module

2015-04-24 Thread santosh shilimkar
On 4/23/2015 4:56 PM, Tony Lindgren wrote: We currently get all kinds of errors building the omap gpio driver as a module starting with: undefined reference to `omap2_gpio_resume_after_idle' undefined reference to `omap2_gpio_prepare_for_idle' ... Let's fix the issue by adding inline functions

Re: Enabling IPU on OMAP44xx

2015-04-24 Thread Suman Anna
Hi Jack, On 24/04/15 19:34, Nishanth Menon wrote: On 04/24/2015 11:21 AM, Jack Mitchell wrote: I've been fighting for a week with trying to get the IPU booted over remoteproc on an OMAP4470. I feel like I've got most of the way there we do not have support for OMAP4470 on git.kernel.org.

Re: [PATCH 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-24 Thread Geert Uytterhoeven
On Fri, Apr 24, 2015 at 4:41 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, April 23, 2015 02:03:08 PM Rajendra Nayak wrote: Most users of PM clocks do the exact same thing in runtime callbacks. Provide default callbacks and cleanup the existing users (keystone/davinci /omap1/sh)

Re: [PATCH] gpio: omap: Allow building as a loadable module

2015-04-24 Thread grygorii.stras...@linaro.org
On 04/24/2015 02:56 AM, Tony Lindgren wrote: We currently get all kinds of errors building the omap gpio driver as a module starting with: undefined reference to `omap2_gpio_resume_after_idle' undefined reference to `omap2_gpio_prepare_for_idle' ... Let's fix the issue by adding inline

Re: [PATCH 3/5] arm: omap1: remove boilerplate code and use USE_PM_CLK_RUNTIME_OPS

2015-04-24 Thread Tony Lindgren
* Rajendra Nayak rna...@codeaurora.org [150423 01:34]: USE_PM_CLK_RUNTIME_OPS is introduced so we don't repeat the same code to do runtime_suspend and runtime_resume across users of PM clocks. Use it to remove the boilerplate code. Signed-off-by: Rajendra Nayak rna...@codeaurora.org

Re: [PATCH 1/3] watchdog: omap: use watchdog_init_timeout

2015-04-24 Thread Felipe Balbi
Hi, On Fri, Apr 24, 2015 at 11:48:31AM +0200, Uwe Kleine-König wrote: Instead of (partly) open coding it use the core function. As a side effect the timeout-sec devicetree property is used now. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de ---

Re: [PATCH] gpio: omap: Fix regression for MPUIO interrupts

2015-04-24 Thread grygorii.stras...@linaro.org
On 04/24/2015 02:54 AM, Tony Lindgren wrote: At some point with all the GPIO clean-up we've broken the MPUIO interrupts. Those are just a little bit different from the GPIO interrupts, so we can fix it up just by setting different irqchip functions for it. And then we can just remove all old

Re: [PATCH] gpio: omap: Fix regression for MPUIO interrupts

2015-04-24 Thread santosh shilimkar
On 4/23/2015 4:54 PM, Tony Lindgren wrote: At some point with all the GPIO clean-up we've broken the MPUIO interrupts. Those are just a little bit different from the GPIO interrupts, so we can fix it up just by setting different irqchip functions for it. And then we can just remove all old code

Re: [PATCH 3/3] watchdog: omap: simplify assignment of bootstatus

2015-04-24 Thread Felipe Balbi
On Fri, Apr 24, 2015 at 11:48:33AM +0200, Uwe Kleine-König wrote: Instead of using an over-long expression involving the ?: operator use an if and intead of an else branch rely on the fact that the data structure was allocated using devm_kzalloc. This also allows to put the used helper

Re: [PATCH 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-24 Thread santosh shilimkar
On 4/24/2015 7:41 AM, Rafael J. Wysocki wrote: On Thursday, April 23, 2015 02:03:08 PM Rajendra Nayak wrote: Most users of PM clocks do the exact same thing in runtime callbacks. Provide default callbacks and cleanup the existing users (keystone/davinci /omap1/sh) Rajendra Nayak (5): PM /

Re: [PATCH 1a/3] watchdog: omap: clearify device tree documentation

2015-04-24 Thread Felipe Balbi
On Fri, Apr 24, 2015 at 10:20:50PM +0200, Uwe Kleine-König wrote: ti,hwmods doesn't belong into the compatible section but is a property on it's own. Also reformat the section of required properties to match the usual style of dt binding documents. Signed-off-by: Uwe Kleine-König

Enabling IPU on OMAP44xx

2015-04-24 Thread Jack Mitchell
I've been fighting for a week with trying to get the IPU booted over remoteproc on an OMAP4470. I feel like I've got most of the way there but I don't get a response from the first kick after boot. Has anyone ever had the IPU booted on mainline? Dmesg from remoteproce boot is as below: [

Re: [PATCH] gpio: omap: Allow building as a loadable module

2015-04-24 Thread Felipe Balbi
On Thu, Apr 23, 2015 at 04:56:22PM -0700, Tony Lindgren wrote: We currently get all kinds of errors building the omap gpio driver as a module starting with: undefined reference to `omap2_gpio_resume_after_idle' undefined reference to `omap2_gpio_prepare_for_idle' ... Let's fix the issue

Re: [PATCH] gpio: omap: Fix regression for MPUIO interrupts

2015-04-24 Thread Felipe Balbi
On Thu, Apr 23, 2015 at 04:54:17PM -0700, Tony Lindgren wrote: At some point with all the GPIO clean-up we've broken the MPUIO interrupts. Those are just a little bit different from the GPIO interrupts, so we can fix it up just by setting different irqchip functions for it. And then we can

Re: [PATCH] gpio: omap: Allow building as a loadable module

2015-04-24 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [150424 09:14]: On Thu, Apr 23, 2015 at 04:56:22PM -0700, Tony Lindgren wrote: We currently get all kinds of errors building the omap gpio driver as a module starting with: undefined reference to `omap2_gpio_resume_after_idle' undefined reference to

[PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Suman Anna
The L3 Error handling on OMAP5 for the most part is very similar to that of OMAP4, and had leveraged common data structures and register layout definitions so far. Upon closer inspection, there are a few minor differences causing an incorrect decoding and reporting of the master NIU upon an error:

Re: [PATCH 2/3] watchdog: omap: put struct watchdog_device into driver data

2015-04-24 Thread Felipe Balbi
On Fri, Apr 24, 2015 at 11:48:32AM +0200, Uwe Kleine-König wrote: This way only a single allocation is needed (per device). Also this stops making use of watchdog_{set,get}_drvdata. And this is better because ... ? Nothing against it, just feels like this commit log needs a little more

Re: [PATCH 2/3] watchdog: omap: put struct watchdog_device into driver data

2015-04-24 Thread Uwe Kleine-König
Hello Felipe, On Fri, Apr 24, 2015 at 09:44:48AM -0500, Felipe Balbi wrote: On Fri, Apr 24, 2015 at 11:48:32AM +0200, Uwe Kleine-König wrote: This way only a single allocation is needed (per device). Also this stops making use of watchdog_{set,get}_drvdata. And this is better because ...

Re: [PATCH 1/3] watchdog: omap: use watchdog_init_timeout

2015-04-24 Thread Uwe Kleine-König
On Fri, Apr 24, 2015 at 09:42:59AM -0500, Felipe Balbi wrote: Hi, On Fri, Apr 24, 2015 at 11:48:31AM +0200, Uwe Kleine-König wrote: Instead of (partly) open coding it use the core function. As a side effect the timeout-sec devicetree property is used now. Signed-off-by: Uwe

Re: Enabling IPU on OMAP44xx

2015-04-24 Thread Jack Mitchell
On 24/04/15 19:34, Nishanth Menon wrote: On 04/24/2015 11:21 AM, Jack Mitchell wrote: I've been fighting for a week with trying to get the IPU booted over remoteproc on an OMAP4470. I feel like I've got most of the way there we do not have support for OMAP4470 on git.kernel.org. If you are

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Nishanth Menon
On Fri, Apr 24, 2015 at 2:10 PM, Suman Anna s-a...@ti.com wrote: On 04/24/2015 01:33 PM, Nishanth Menon wrote: On 04/24/2015 12:54 PM, Suman Anna wrote: ... -static struct l3_target_data omap_l3_target_data_clk3[] = { -{0x0100, EMUSS,}, -{0x0300, DEBUG SOURCE,}, -{0x0, HOST

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Suman Anna
On 04/24/2015 01:33 PM, Nishanth Menon wrote: On 04/24/2015 12:54 PM, Suman Anna wrote: The L3 Error handling on OMAP5 for the most part is very similar to that of OMAP4, and had leveraged common data structures and register layout definitions so far. Upon closer inspection, there are a few

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Suman Anna
On 04/24/2015 02:38 PM, Nishanth Menon wrote: On Fri, Apr 24, 2015 at 2:10 PM, Suman Anna s-a...@ti.com wrote: On 04/24/2015 01:33 PM, Nishanth Menon wrote: On 04/24/2015 12:54 PM, Suman Anna wrote: ... -static struct l3_target_data omap_l3_target_data_clk3[] = { -{0x0100, EMUSS,}, -

Re: [PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-04-24 Thread Benoit Parrot
Sakari Ailus sakari.ai...@iki.fi wrote on Thu [2015-Mar-26 00:57:36 +0200]: Add lane-polarity property to endpoint nodes. This essentially tells that the order of the differential signal wires is inverted. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart

Re: Enabling IPU on OMAP44xx

2015-04-24 Thread Jack Mitchell
On 24/04/15 19:34, Nishanth Menon wrote: On 04/24/2015 11:21 AM, Jack Mitchell wrote: I've been fighting for a week with trying to get the IPU booted over remoteproc on an OMAP4470. I feel like I've got most of the way there we do not have support for OMAP4470 on git.kernel.org. If you are

Re: [PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-04-24 Thread Sakari Ailus
Hi Benoit, On Fri, Apr 24, 2015 at 02:41:00PM -0500, Benoit Parrot wrote: Sakari Ailus sakari.ai...@iki.fi wrote on Thu [2015-Mar-26 00:57:36 +0200]: Add lane-polarity property to endpoint nodes. This essentially tells that the order of the differential signal wires is inverted.

Re: [PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-04-24 Thread Benoit Parrot
Sakari Ailus sakari.ai...@iki.fi wrote on Fri [2015-Apr-24 22:49:33 +0300]: Hi Benoit, On Fri, Apr 24, 2015 at 02:41:00PM -0500, Benoit Parrot wrote: Sakari Ailus sakari.ai...@iki.fi wrote on Thu [2015-Mar-26 00:57:36 +0200]: Add lane-polarity property to endpoint nodes. This

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Nishanth Menon
On 04/24/2015 02:54 PM, Suman Anna wrote: On 04/24/2015 02:38 PM, Nishanth Menon wrote: On Fri, Apr 24, 2015 at 2:10 PM, Suman Anna s-a...@ti.com wrote: On 04/24/2015 01:33 PM, Nishanth Menon wrote: On 04/24/2015 12:54 PM, Suman Anna wrote: ... -static struct l3_target_data

[PATCH 1a/3] watchdog: omap: clearify device tree documentation

2015-04-24 Thread Uwe Kleine-König
ti,hwmods doesn't belong into the compatible section but is a property on it's own. Also reformat the section of required properties to match the usual style of dt binding documents. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- Hello Felipe, what about this patch before the