Re: [PATCH v3 2/5] OMAP: mailbox: fix rx interrupt disable in omap4

2010-11-19 Thread Felipe Balbi
On Thu, Nov 18, 2010 at 01:15:39PM -0600, Hari Kanigeri wrote: disabling rx interrupt on omap4 is different than its pre-decessors. The bit in OMAP4_MAILBOX_IRQENABLE_CLR should be set to disable the interrupts instead of clearing the bit. How nasty :-p Signed-off-by: Hari Kanigeri

Re: [PATCH v3 2/5] OMAP: mailbox: fix rx interrupt disable in omap4

2010-11-19 Thread Felipe Balbi
On Thu, Nov 18, 2010 at 06:07:40PM -0600, Kanigeri, Hari wrote: Benoit, On Thu, Nov 18, 2010 at 5:28 PM, Cousson, Benoit b-cous...@ti.com wrote: On 11/18/2010 8:15 PM, Hari Kanigeri wrote: disabling rx interrupt on omap4 is different than its pre-decessors. The bit in

Re: [PATCH v3 3/5] OMAP: mailbox: fix checkpatch warnings

2010-11-19 Thread Felipe Balbi
Hi, On Thu, Nov 18, 2010 at 01:15:40PM -0600, Hari Kanigeri wrote: Fix the checkpatch warnings observed in mailbox module you should put which warnings are those here :-) Signed-off-by: Hari Kanigeri h-kanige...@ti.com -- balbi -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v3 4/5] OMAP: mailbox: send message in process context

2010-11-19 Thread Felipe Balbi
Hi, On Thu, Nov 18, 2010 at 01:15:41PM -0600, Hari Kanigeri wrote: Schedule the Tasklet to send only when mailbox fifo is full and there are pending messages in kifo, else send the message directly in the Process ^kfifo -- balbi -- To unsubscribe from this list: send the

RE: [PATCH 0/5] OMAP4: mux: Initialise OMAP4 mux pins.

2010-11-19 Thread R, Sricharan
-Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Friday, November 19, 2010 2:56 AM To: Cousson, Benoit Cc: R, Sricharan; linux-omap@vger.kernel.org Subject: Re: [PATCH 0/5] OMAP4: mux: Initialise OMAP4 mux pins. * Cousson, Benoit b-cous...@ti.com [101118 12:56]:

Re: [PATCH v3 5/5] OMAP: mailbox: add notification support for multiple readers

2010-11-19 Thread Felipe Balbi
Hi, On Thu, Nov 18, 2010 at 01:15:42PM -0600, Hari Kanigeri wrote: In the current mailbox driver, the mailbox internal pointer for callback can be directly manipulated by the Users, so a second User can easily corrupt the first user's callback pointer. The initial effort to correct this issue

Re: [PATCH 01/13] OMAP3: PM: Update clean_l2 to use v7_flush_dcache_all

2010-11-19 Thread Jean Pihet
On Fri, Nov 19, 2010 at 2:54 AM, Nishanth Menon n...@ti.com wrote: From: Richard Woodruff r-woodru...@ti.com Analysis in TI kernel with ETM showed that using cache mapped flush in kernel instead of SO mapped flush cost drops by 65% (3.39mS down to 1.17mS) for clean_l2 which is used during

Re: [PATCH 11/13] OMAP3630: PM: Errata i608: disable RTA

2010-11-19 Thread Jean Pihet
On Fri, Nov 19, 2010 at 2:54 AM, Nishanth Menon n...@ti.com wrote: Errata id: i608 RTA (Retention Till Access) feature is not supported and leads to device stability issues when enabled. This impacts modules with embedded memories on OMAP3630 Workaround is to disable RTA on boot and coming

Re: [PATCH 01/13] OMAP3: PM: Update clean_l2 to use v7_flush_dcache_all

2010-11-19 Thread Peter 'p2' De Schrijver
On Fri, Nov 19, 2010 at 10:46:19AM +0100, ext Jean Pihet wrote: On Fri, Nov 19, 2010 at 2:54 AM, Nishanth Menon n...@ti.com wrote: From: Richard Woodruff r-woodru...@ti.com Analysis in TI kernel with ETM showed that using cache mapped flush in kernel instead of SO mapped flush cost drops

Re: [PATCH 13/13] OMAP3630: PM: Errata i583: disable coreoff if ES1.2

2010-11-19 Thread Jean Pihet
On Fri, Nov 19, 2010 at 2:54 AM, Nishanth Menon n...@ti.com wrote: From: Eduardo Valentin eduardo.valen...@nokia.com Limitation i583: Self_Refresh Exit issue after OFF mode Issue: When device is waking up from OFF mode, then SDRC state machine sends inappropriate sequence violating JEDEC

Re: [PATCH 09/13] OMAP3: PM: Apply errata i540 before save secure ram

2010-11-19 Thread Jean Pihet
On Fri, Nov 19, 2010 at 2:54 AM, Nishanth Menon n...@ti.com wrote: From: Eduardo Valentin eduardo.valen...@nokia.com We need to disable the autoidle bit from MPU INTC, otherwise INTC would get stall, and we would never come out of WFI. This must be done before save secure ram as well because

Re: [PATCH 01/13] OMAP3: PM: Update clean_l2 to use v7_flush_dcache_all

2010-11-19 Thread Jean Pihet
Hi Peter, On Fri, Nov 19, 2010 at 10:57 AM, Peter 'p2' De Schrijver peter.de-schrij...@nokia.com wrote: On Fri, Nov 19, 2010 at 10:46:19AM +0100, ext Jean Pihet wrote: On Fri, Nov 19, 2010 at 2:54 AM, Nishanth Menon n...@ti.com wrote: From: Richard Woodruff r-woodru...@ti.com Analysis in

Re: [PATCH 00/13] OMAP3: OFF mode fixes

2010-11-19 Thread Jean Pihet
Hi, On Fri, Nov 19, 2010 at 2:54 AM, Nishanth Menon n...@ti.com wrote: Bunch of fixes as part of phase 1 targetting mainly OMAP3630 HS devices for OFF mode logic. It is important to note - for proper functionality of HS OFF mode on OMAP3630,   CONFIG_OMAP3_L2_AUX_SECURE_SAVE_RESTORE=y and  

Re: No more software ECC in omap2.c NAND driver. Why?

2010-11-19 Thread Grazvydas Ignotas
On Thu, Nov 18, 2010 at 4:33 PM, Ghorai, Sukumar s-gho...@ti.com wrote: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Charles Manning Sent: Thursday, November 18, 2010 6:36 AM To: linux-omap@vger.kernel.org Subject:

Re: [PATCH] omap: nand: remove hardware ECC as default

2010-11-19 Thread Grazvydas Ignotas
On Thu, Nov 18, 2010 at 8:01 PM, Tony Lindgren t...@atomide.com wrote: * Sukumar Ghorai s-gho...@ti.com [101118 06:12]: CONFIG_MTD_NAND_OMAP_HWECC defined wronly in patch submitted during 2.6.36 that using the hardware ECC by default wrongly Signed-off-by: Sukumar Ghorai s-gho...@ti.com

Re: Problem using UART3 on Logic Torpedo w/2.6.32

2010-11-19 Thread Govindraj
On Fri, Nov 19, 2010 at 2:35 AM, Peter Barada pet...@logicpd.com wrote: All, I have a 2.6.32 kernel based on the L23.i3.3 kernel (2.6.32) from TI, and I've run into an interesting problem with UART3 (maps to /dev/ttyS1 on the Torpedo board). On the host I have it hooked up to /dev/ttyS1, so

[PATCH] OMAP3: PM: PRCM interrupt: Fix warning MPU wakeup but no wakeup sources

2010-11-19 Thread Madhusudhan Gowda
A corner case where prcm_interrupt handler is handling the WKST_WKUP and before acknowledging the wakeup sources if an IO Pad wakeup ST_IO is indicated then hits the below warning since the wakeup sources are already cleared. WARN(c == 0, prcm: WARNING: PRCM indicated MPU

Re: [PATCH] OMAP3: PM: PRCM interrupt: Fix warning MPU wakeup but no wakeup sources

2010-11-19 Thread Felipe Balbi
Hi, On Fri, Nov 19, 2010 at 01:26:33PM +0200, Madhusudhan Gowda wrote: @@ -277,13 +278,16 @@ static irqreturn_t prcm_interrupt_handler (int irq, void *dev_id) if (irqstatus_mpu (OMAP3430_WKUP_ST_MASK | OMAP3430_IO_ST_MASK)) {

Re: [PATCH v3 5/5] OMAP: mailbox: add notification support for multiple readers

2010-11-19 Thread Kanigeri, Hari
Felipe, On Fri, Nov 19, 2010 at 2:50 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Nov 18, 2010 at 01:15:42PM -0600, Hari Kanigeri wrote: In the current mailbox driver, the mailbox internal pointer for callback can be directly manipulated by the Users, so a second User can easily

Re: [PATCH v3 3/5] OMAP: mailbox: fix checkpatch warnings

2010-11-19 Thread Kanigeri, Hari
Felipe, On Fri, Nov 19, 2010 at 2:33 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Nov 18, 2010 at 01:15:40PM -0600, Hari Kanigeri wrote: Fix the checkpatch warnings observed in mailbox module you should put which warnings are those here :-) Sure, will add some descriptions in next

Re: [PATCH 00/13] OMAP3: OFF mode fixes

2010-11-19 Thread Nishanth Menon
Jean Pihet wrote, on 11/19/2010 04:18 AM: Hi, On Fri, Nov 19, 2010 at 2:54 AM, Nishanth Menonn...@ti.com wrote: Bunch of fixes as part of phase 1 targetting mainly OMAP3630 HS devices for OFF mode logic. It is important to note - for proper functionality of HS OFF mode on OMAP3630,

Re: [PATCH v3 5/5] OMAP: mailbox: add notification support for multiple readers

2010-11-19 Thread Felipe Balbi
On Fri, Nov 19, 2010 at 05:50:19AM -0600, Kanigeri, Hari wrote: Thanks for your comments :). np. I think handling of per-message callback should be handled at one level above mailbox, like in IPC modules such as dspbridge, syslink..etc. then you'll have duplication of functionality :-)

Re: [PATCH 11/13] OMAP3630: PM: Errata i608: disable RTA

2010-11-19 Thread Nishanth Menon
Jean Pihet wrote, on 11/19/2010 03:57 AM: [...] diff --git a/arch/arm/mach-omap2/sleep34xx.S b/arch/arm/mach-omap2/sleep34xx.S index 5a4468f..7259541 100644 --- a/arch/arm/mach-omap2/sleep34xx.S +++ b/arch/arm/mach-omap2/sleep34xx.S ... /* Function call to get the restore pointer for for ES3

Re: [PATCH 09/13] OMAP3: PM: Apply errata i540 before save secure ram

2010-11-19 Thread Nishanth Menon
Jean Pihet wrote, on 11/19/2010 04:09 AM: [...] diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index f520b38..c7e2db0 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -422,6 +422,14 @@ void omap_sram_idle(void)

Re: [PATCH 13/13] OMAP3630: PM: Errata i583: disable coreoff if ES1.2

2010-11-19 Thread Nishanth Menon
Jean Pihet wrote, on 11/19/2010 04:07 AM: [..] diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 0102d60..1890e49 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -86,6 +86,7 @@ static int secure_ram_saved; #define

Re: [PATCH v3 5/5] OMAP: mailbox: add notification support for multiple readers

2010-11-19 Thread Kanigeri, Hari
Felipe, I think handling of per-message callback should be handled at one level above mailbox, like in IPC modules such as dspbridge, syslink..etc. then you'll have duplication of functionality :-) yes in mailbox :). One solution doesn't fit all and this should be handled at IPC driver.

Re: [PATCH v3 5/5] OMAP: mailbox: add notification support for multiple readers

2010-11-19 Thread Felipe Balbi
Hi Hari, On Fri, Nov 19, 2010 at 06:29:39AM -0600, Kanigeri, Hari wrote: How do you know that a response is received for a particular sender ? think of it as FIFO. So the first completed message is the first in your list of requests. Ain't that easy ? :-) By reading mailbox payload or by

Re: [PATCH 09/13] OMAP3: PM: Apply errata i540 before save secure ram

2010-11-19 Thread Jean Pihet
On Fri, Nov 19, 2010 at 1:12 PM, Nishanth Menon n...@ti.com wrote: Jean Pihet wrote, on 11/19/2010 04:09 AM: [...] diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index f520b38..c7e2db0 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@

RE: [PATCH] OMAP3: PM: PRCM interrupt: Fix warning MPU wakeup but no wakeup sources

2010-11-19 Thread ext-madhusudhan.1.gowda
Yes Balbi. I will incorporate your comments. Regards Gowda From: linux-omap-ow...@vger.kernel.org [linux-omap-ow...@vger.kernel.org] On Behalf Of ext Felipe Balbi [ba...@ti.com] Sent: Friday, November 19, 2010 1:47 PM To: Gowda Madhusudhan.1

Re: [PATCH v3 5/5] OMAP: mailbox: add notification support for multiple readers

2010-11-19 Thread Kanigeri, Hari
Felipe, On Fri, Nov 19, 2010 at 6:53 AM, Felipe Balbi ba...@ti.com wrote: Hi Hari, On Fri, Nov 19, 2010 at 06:29:39AM -0600, Kanigeri, Hari wrote: How do you know that a response is received for a particular sender ? think of it as FIFO. So the first completed message is the first in your

[PATCH v3 2/8] omap-sham: DMA initialization fixes for off mode

2010-11-19 Thread Dmitry Kasatkin
DMA parameters for constant data were initialized during driver probe(). It seems that those settings sometimes are lost when devices goes to off mode. This patch makes DMA initialization just before use. It solves off mode problems. Fixes: NB#202786 - Aegis SHA1 block off mode changes

[PATCH v3 0/8] omap-sham: OMAP SHA1/MD5 driver fixes and improvements

2010-11-19 Thread Dmitry Kasatkin
Hi, Here is a set of patches which provides fixes and improvements. Based on Herbert feedback it also includes fixes so that calling final() is not mandatory. BR, Dmitry Dmitry Kasatkin (8): omap-sham: uses digest buffer in request context omap-sham: DMA initialization fixes for off mode

[PATCH v3 3/8] omap-sham: error handling improved

2010-11-19 Thread Dmitry Kasatkin
Introduces DMA error handling. DMA error is returned as a result code of the hash request. Clients needs to handle error codes and may repeat hash calculation attempt. Also in the case of DMA error, SHAM module is set to be re-initialized again. It significantly improves stability against

[PATCH v3 4/8] omap-sham: removed redundunt locking

2010-11-19 Thread Dmitry Kasatkin
Locking for queuing and dequeuing is combined. test_and_set_bit() is also replaced with checking under dd-lock. Signed-off-by: Dmitry Kasatkin dmitry.kasat...@nokia.com --- drivers/crypto/omap-sham.c | 47 +++ 1 files changed, 21 insertions(+), 26

[PATCH v3 8/8] omap-sham: zero-copy scatterlist handling

2010-11-19 Thread Dmitry Kasatkin
If scatterlist have more than one entry, current driver uses aligned buffer to copy data to to accelerator to tackle possible issues with DMA and SHA buffer alignment. This commit adds more intelligence to verify SG alignment and possibility to use DMA directly on the data without using copy

[PATCH v3 5/8] omap-sham: crypto_ahash_final() now not need to be called.

2010-11-19 Thread Dmitry Kasatkin
According to the Herbert Xu, client may not always call crypto_ahash_final(). In the case of error in hash calculation resources will be automatically cleaned up. But if no hash calculation error happens and client will not call crypto_ahash_final() at all, then internal buffer will not be

[PATCH v3 7/8] omap-sham: FLAGS_FIRST is redundant and removed

2010-11-19 Thread Dmitry Kasatkin
bufcnt is 0 if it was no update requests before, which is exact meaning of FLAGS_FIRST. Signed-off-by: Dmitry Kasatkin dmitry.kasat...@nokia.com --- drivers/crypto/omap-sham.c |8 +--- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/omap-sham.c

[PATCH v3 6/8] omap-sham: hash-in-progress is stored in hw format

2010-11-19 Thread Dmitry Kasatkin
Hash-in-progress is now stored in hw format. Only on final call, hash is converted to correct format. Speedup copy procedure and will allow to use OMAP burst mode. Signed-off-by: Dmitry Kasatkin dmitry.kasat...@nokia.com --- drivers/crypto/omap-sham.c | 38

[PATCH v2] OMAP3: PM: PRCM interrupt: Fix warning MPU wakeup but no wakeup sources

2010-11-19 Thread Madhusudhan Gowda
A corner case where prcm_interrupt handler is handling the WKST_WKUP and before acknowledging the wakeup sources if an IO Pad wakeup ST_IO is indicated then hits the below warning since the wakeup sources are already cleared. WARN(c == 0, prcm: WARNING: PRCM indicated MPU

Re: [PATCH v3 2/5] OMAP: mailbox: fix rx interrupt disable in omap4

2010-11-19 Thread Kanigeri, Hari
Felipe, On Fri, Nov 19, 2010 at 2:32 AM, Felipe Balbi ba...@ti.com wrote: On Thu, Nov 18, 2010 at 06:07:40PM -0600, Kanigeri, Hari wrote: Benoit, On Thu, Nov 18, 2010 at 5:28 PM, Cousson, Benoit b-cous...@ti.com wrote: On 11/18/2010 8:15 PM, Hari Kanigeri wrote: disabling rx interrupt on

Re: [PATCH v3 5/5] OMAP: mailbox: add notification support for multiple readers

2010-11-19 Thread Felipe Balbi
Hi, (at home already), On Fri, 2010-11-19 at 07:57 -0600, Kanigeri, Hari wrote: think of it as FIFO. So the first completed message is the first in your list of requests. Ain't that easy ? :-) Actually it isn't that easy ;) because there is no guarantee that the completed message is the

RE: [PATCH] OMAP3: PM: PRCM interrupt: Fix warning MPU wakeup but no wakeup sources

2010-11-19 Thread Felipe Balbi
Hi, (please read elinux.org/Netiquette :-) On Fri, 2010-11-19 at 14:53 +0100, ext-madhusudhan.1.go...@nokia.com wrote: Yes Balbi. I will incorporate your comments. WARN(!c (ct == 1), prcm: WARNING: PRCM indicated MPU wakeup but no wakeup sources are marked\n); would do

Re: [PATCH v3 5/5] OMAP: mailbox: add notification support for multiple readers

2010-11-19 Thread Kanigeri, Hari
Felipe, On Fri, Nov 19, 2010 at 8:25 AM, Felipe Balbi m...@felipebalbi.com wrote: Hi, (at home already), On Fri, 2010-11-19 at 07:57 -0600, Kanigeri, Hari wrote: think of it as FIFO. So the first completed message is the first in your list of requests. Ain't that easy ? :-) Actually it

[PATCH V2] omap: nand: remove hardware ECC as default

2010-11-19 Thread Sukumar Ghorai
CONFIG_MTD_NAND_OMAP_HWECC defined wrongly in patch submitted for 2.6.36. This flag enables hw ecc by default. Boards like beagle and pandora uses sw ecc for write (e.g. binary flushed from u-boot) and read from kernel. https://patchwork.kernel.org/patch/111036/ Signed-off-by: Sukumar Ghorai

Re: [PATCH v3 2/5] OMAP: mailbox: fix rx interrupt disable in omap4

2010-11-19 Thread Cousson, Benoit
On 11/19/2010 3:22 PM, Kanigeri, Hari wrote: Felipe, On Fri, Nov 19, 2010 at 2:32 AM, Felipe Balbiba...@ti.com wrote: On Thu, Nov 18, 2010 at 06:07:40PM -0600, Kanigeri, Hari wrote: Benoit, On Thu, Nov 18, 2010 at 5:28 PM, Cousson, Benoitb-cous...@ti.com wrote: On 11/18/2010 8:15 PM,

Re: [PATCH v4] OMAP2+: PM: omap device: API's for handling mstandby mode

2010-11-19 Thread Nishanth Menon
G, Manjunath Kondaiah had written, on 11/19/2010 01:21 AM, the following: Certain errata's in OMAP2+ processors will require forcing master standby to no standby mode before completing on going operation. Without this, the results will be unpredictable. [..] These API's are required for

[PATCHv4 0/14] dmtimer adaptation to platform_driver

2010-11-19 Thread Tarun Kanti DebBarma
dmtimer adaptation to platform_driver. This patch series is adaptation of dmtimer code to platform driver using omap_device and omap_hwmod abstraction. v4: (1) clock aliases are renamed as 32k_ck, sys_ck and alt_ck (2) incorporate missing clk_put() for corresponding clk_get() (3) modified

[PATCHv4 2/14] OMAP: dmtimer: infrastructure to support hwmod

2010-11-19 Thread Tarun Kanti DebBarma
(1) Add new fields and data structures to support dmtimer conversion to platform driver. (2) Constants to identify IP revision so that Highlander IP in OMAP 4 can be distinguished. (3) field to identify OMAP4 abe timers. (4) Interface function to support early boot. Signed-off-by: Tarun Kanti

[PATCHv4 3/14] OMAP2420: dmtimer: add hwmod database

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add hwmod database for OMAP2420. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 633 1 files changed, 633 insertions(+), 0

[PATCHv4 10/14] OMAP: dmtimer: access routines to interrupt registers

2010-11-19 Thread Tarun Kanti DebBarma
Add low level read/write routines to access dmtimer interrupt registers. These routines would be used later when we support OMAP 4 new IP revision. When that happens the present read/write routines would be used to access dmtimer functional registers only. Signed-off-by: Tarun Kanti DebBarma

[PATCHv4 5/14] OMAP3: dmtimer: add hwmod database

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add hwmod database for OMAP3. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 674 1 files changed, 674 insertions(+), 0

[PATCHv4 14/14] OMAP: dmtimer: pm_runtime support

2010-11-19 Thread Tarun Kanti DebBarma
Add pm_runtime support to dmtimer. Since dmtimer is used during early boot before pm_runtime is initialized completely there are provisions to enable/disable clocks directly in the code during early boot. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com [p-bas...@ti.com: added pm_runtime

[PATCHv4 12/14] OMAP: dmtimer: switch-over to platform device driver

2010-11-19 Thread Tarun Kanti DebBarma
switch-over to platform device driver through following changes: (a) call to dmtimer initialization routine from timer-gp.c is removed (b) initiate dmtimer early initialization from omap2_init_common_hw in io.c (c) modify plat-omap/dmtimer routines to use new register map and platform data.

[PATCHv4 13/14] OMAP: dmtimer: remove reset function

2010-11-19 Thread Tarun Kanti DebBarma
reset is handled by hwmod framework and so removing it from the code. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/plat-omap/dmtimer.c | 42 ++ 1 files changed, 2 insertions(+), 40

[PATCHv4 1/14] OMAP2+: dmtimer: add device names to flck nodes

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add device name to OMAP2 dmtimer fclk nodes so that the fclk nodes can be retrieved by doing a clk_get with the corresponding device pointers or device names. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com ---

[PATCHv4 6/14] OMAP4: dmtimer: add hwmod database

2010-11-19 Thread Tarun Kanti DebBarma
From: Cousson, Benoit b-cous...@ti.com Add hwmod database for OMAP4. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 622 1 files changed, 622 insertions(+), 0

[PATCHv4 11/14] OMAP2+: dmtimer: convert to platform devices

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add routines to converts dmtimers to platform devices. The device data is obtained from hwmod database of respective platform and is registered to device model after successful binding to driver. It also provides provision to access timers during early boot when

[PATCHv4 9/14] OMAP1: dmtimer: conversion to platform devices

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Convert OMAP1 dmtimers into a platform devices and then registers with device model framework so that it can be bound to corresponding driver. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com ---

[PATCHv4 7/14] OMAP: dmtimer: use list instead of static array

2010-11-19 Thread Tarun Kanti DebBarma
Convert dmtimers static array in functions into list structure. Please note that the static arrays will be completely removed in subsequent patches when dmtimer is converted to platform driver. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/plat-omap/dmtimer.c | 67

[PATCHv4 8/14] OMAP: dmtimer: platform driver

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer platform driver functions which include: (1) platform driver initialization (2) driver probe function (3) driver remove function Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com ---

Re: [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr

2010-11-19 Thread Jean Pihet
HI Tony, On Thu, Nov 18, 2010 at 7:34 PM, Jean Pihet jean.pi...@newoldbits.com wrote: On Thu, Nov 18, 2010 at 7:27 PM, Tony Lindgren t...@atomide.com wrote: * Jean Pihet jean.pi...@newoldbits.com [101118 10:06]: On Thu, Nov 18, 2010 at 6:52 PM, Tony Lindgren t...@atomide.com wrote: About the

[PATCH ver. 2] PM: add synchronous runtime interface for interrupt handlers

2010-11-19 Thread Alan Stern
This patch (as1431b) makes the synchronous runtime-PM interface suitable for use in interrupt handlers. Subsystems can call the new pm_runtime_irq_safe() function to tell the PM core that a device's runtime-PM callbacks should be invoked with interrupts disabled (runtime_suspend and

Re: [PATCH 0/5] OMAP4: mux: Initialise OMAP4 mux pins.

2010-11-19 Thread Tony Lindgren
* R, Sricharan r.sricha...@ti.com [101119 00:39]: Ok . This means that the pin muxing introduced would be applicable for omap 2 ,3 and 4 also, with the board file passing the respective data if they are different ? Well the pin configuration stays board specific, but the code to set the

[PATCH] ARM: omap: ensure sched_clock() is notrace

2010-11-19 Thread Rabin Vincent
Include sched.h to ensure sched_clock() has the notrace annotation, and mark any functions it calls as notrace too. Cc: Tony Lindgren t...@atomide.com Cc: linux-omap@vger.kernel.org Signed-off-by: Rabin Vincent ra...@rab.in --- arch/arm/plat-omap/counter_32k.c | 13 +++--

Re: [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr

2010-11-19 Thread Tony Lindgren
* Jean Pihet jean.pi...@newoldbits.com [101119 07:27]: HI Tony, On Thu, Nov 18, 2010 at 7:34 PM, Jean Pihet jean.pi...@newoldbits.com wrote: On Thu, Nov 18, 2010 at 7:27 PM, Tony Lindgren t...@atomide.com wrote: * Jean Pihet jean.pi...@newoldbits.com [101118 10:06]: On Thu, Nov 18, 2010

RE: [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr

2010-11-19 Thread Derrick, David
-Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Friday, November 19, 2010 9:37 AM On Thu, Nov 18, 2010 at 7:34 PM, Jean Pihet jean.pi...@newoldbits.com wrote: On Thu, Nov 18, 2010 at 7:27 PM, Tony Lindgren t...@atomide.com wrote: * Jean Pihet

Re: [PATCH 1/2] OMAP3 PM: move omap3 sleep to ddr

2010-11-19 Thread Jean Pihet
On Fri, Nov 19, 2010 at 5:14 PM, Derrick, David dderr...@ti.com wrote: -Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Friday, November 19, 2010 9:37 AM On Thu, Nov 18, 2010 at 7:34 PM, Jean Pihet jean.pi...@newoldbits.com wrote: On Thu, Nov 18, 2010 at 7:27

[Patch v1] AM35xx: Craneboard: Add USB EHCI support

2010-11-19 Thread srinath
From: Srinath srin...@mistralsolutions.com AM3517/05 Craneboard has one EHCI interface on board using port1. GPIO35 is used as power enable. GPIO38 is used as port1 PHY reset. Signed-off-by: Srinath srin...@mistralsolutions.com --- arch/arm/mach-omap2/board-am3517crane.c | 21

Re: [PATCH v2] OMAP3: PM: PRCM interrupt: Fix warning MPU wakeup but no wakeup sources

2010-11-19 Thread Kevin Hilman
Madhusudhan Gowda ext-madhusudhan.1.go...@nokia.com writes: A corner case where prcm_interrupt handler is handling the WKST_WKUP and before acknowledging the wakeup sources if an IO Pad wakeup ST_IO is indicated then hits the below warning since the wakeup sources are already cleared.

RE: [PATCH] omap4: enable L2 prefetching

2010-11-19 Thread Santosh Shilimkar
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Kevin Hilman Sent: Wednesday, November 17, 2010 12:19 AM To: Nishanth Menon Cc: linux-omap; linux-arm; Mans Rullgard Subject: Re: [PATCH] omap4: enable L2 prefetching

Re: [Patch v1] AM35xx: Craneboard: Add USB EHCI support

2010-11-19 Thread Igor Grinberg
Hi Srinath, On 11/19/10 18:07, srin...@mistralsolutions.com wrote: From: Srinath srin...@mistralsolutions.com AM3517/05 Craneboard has one EHCI interface on board using port1. GPIO35 is used as power enable. GPIO38 is used as port1 PHY reset. Signed-off-by: Srinath

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: From: Eduardo Valentin eduardo.valen...@nokia.com Deny MPU idle before save secure ram and allow it after save secure RAM. We want to deny MPU going to low power state because, there is a short time window where a wakeup event would happen around the time

Re: [PATCH 09/13] OMAP3: PM: Apply errata i540 before save secure ram

2010-11-19 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: From: Eduardo Valentin eduardo.valen...@nokia.com We need to disable the autoidle bit from MPU INTC, otherwise INTC would get stall, and we would never come out of WFI. This must be done before save secure ram as well because save secure ram also does WFI.

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Nishanth Menon
Kevin Hilman had written, on 11/19/2010 11:08 AM, the following: Nishanth Menon n...@ti.com writes: From: Eduardo Valentin eduardo.valen...@nokia.com Deny MPU idle before save secure ram and allow it after save secure RAM. We want to deny MPU going to low power state because, there is a short

RE: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Santosh Shilimkar
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Kevin Hilman Sent: Friday, November 19, 2010 10:39 PM To: Nishanth Menon Cc: linux-omap; Jean Pihet; Vishwanath Sripathy; Tony Subject: Re: [PATCH 08/13] OMAP3: PM: Deny

Re: [PATCH 09/13] OMAP3: PM: Apply errata i540 before save secure ram

2010-11-19 Thread Nishanth Menon
Kevin Hilman had written, on 11/19/2010 11:15 AM, the following: Nishanth Menon n...@ti.com writes: From: Eduardo Valentin eduardo.valen...@nokia.com We need to disable the autoidle bit from MPU INTC, otherwise INTC would get stall, and we would never come out of WFI. This must be done before

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Nishanth Menon
Santosh Shilimkar had written, on 11/19/2010 11:18 AM, the following: [..] I guess we need some more details on which secure mode calls can trigger this problem. If this is an isolated case, I'm OK with this fix. If it's more general, I'd like to see a more general fix. On the related topic

RE: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Santosh Shilimkar
-Original Message- From: Nishanth Menon [mailto:n...@ti.com] Sent: Friday, November 19, 2010 10:55 PM To: Santosh Shilimkar Cc: Kevin Hilman; linux-omap; Jean Pihet; Vishwanath Sripathy; Tony Subject: Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM Santosh

[PATCH 0/5] omap4: l2x0 fixes and cleanup

2010-11-19 Thread Santosh Shilimkar
This series is outcome of the below discussion thread. http://www.spinics.net/lists/arm-kernel/msg104254.html The series in brief has following patches - adds PL310 aux-control register bitfields - Use these bitfields instead of hardcoded values as part of init -

[PATCH 3/5] omap4: l2x0: enable instruction and data prefetching

2010-11-19 Thread Santosh Shilimkar
From: Mans Rullgard m...@mansr.com Enabling L2 prefetching improves performance as shown on Panda ES2.1 board with mem test, and it has measurable impact on performances. I think we should consider it, even though it damages writes a bit. (rebased to k.org) Usually the prefetch is used at both

[PATCH 2/5] omap4: l2x0: Construct the AUXCTRL value using defines

2010-11-19 Thread Santosh Shilimkar
This patch removes the hardcoded value of auxctrl value and construct it using bitfields Bit 25 is reserved and is always set to 1. Same value of this bit is retained in this patch Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Tested-by: Nishanth Menon n...@ti.com ---

[PATCH 5/5] omap4: l2x0: Enable early BRESP bit

2010-11-19 Thread Santosh Shilimkar
The AXI protocol specifies that the write response can only be sent back to an AXI master when the last write data has been accepted. This optimization enables the PL310 to send the write response of certain write transactions as soon as the store buffer accepts the write address. This behavior is

[PATCH 4/5] omap4: l2x0: Set share override bit

2010-11-19 Thread Santosh Shilimkar
Clearing bit 22 in the PL310 Auxiliary Control register (shared attribute override enable) has the side effect of transforming Normal Shared Non-cacheable reads into Cacheable no-allocate reads. Coherent DMA buffers in Linux always have a Cacheable alias via the kernel linear mapping and the

Re: [PATCH] OMAP MUX framework changes

2010-11-19 Thread Tony Lindgren
* Dan Murphy dmur...@ti.com [101117 09:58]: --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c +static struct omap_mux *omap_mux_get_by_mux(struct omap_mux_partition *partition, + char *name) +{ + struct omap_mux_entry *e; + int

Re: [PATCH 5/5] omap4: l2x0: Enable early BRESP bit

2010-11-19 Thread Måns Rullgård
Santosh Shilimkar santosh.shilim...@ti.com writes: The AXI protocol specifies that the write response can only be sent back to an AXI master when the last write data has been accepted. This optimization enables the PL310 to send the write response of certain write transactions as soon as the

Re: [PATCH 1/5] ARM: l2x0: Add aux control register bitfields

2010-11-19 Thread Catalin Marinas
On Fri, 2010-11-19 at 17:31 +, Santosh Shilimkar wrote: This patch adds the PL310 Auxiliary Control Register bitfields so that SOC's can use these bit fields to construct the AUXCTRL value to be passed/programmed instead of hardcoding it. Signed-off-by: Santosh Shilimkar

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Nishanth Menon
Santosh Shilimkar had written, on 11/19/2010 11:28 AM, the following: -Original Message- From: Nishanth Menon [mailto:n...@ti.com] Sent: Friday, November 19, 2010 10:55 PM To: Santosh Shilimkar Cc: Kevin Hilman; linux-omap; Jean Pihet; Vishwanath Sripathy; Tony Subject: Re: [PATCH 08/13]

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Kevin Hilman
Santosh Shilimkar santosh.shilim...@ti.com writes: -Original Message- From: Nishanth Menon [mailto:n...@ti.com] Sent: Friday, November 19, 2010 10:55 PM To: Santosh Shilimkar Cc: Kevin Hilman; linux-omap; Jean Pihet; Vishwanath Sripathy; Tony Subject: Re: [PATCH 08/13] OMAP3: PM:

Re: [PATCH 09/13] OMAP3: PM: Apply errata i540 before save secure ram

2010-11-19 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: Kevin Hilman had written, on 11/19/2010 11:15 AM, the following: Nishanth Menon n...@ti.com writes: From: Eduardo Valentin eduardo.valen...@nokia.com We need to disable the autoidle bit from MPU INTC, otherwise INTC would get stall, and we would never

Re: [PATCH 09/13] OMAP3: PM: Apply errata i540 before save secure ram

2010-11-19 Thread Nishanth Menon
Kevin Hilman had written, on 11/19/2010 01:47 PM, the following: Nishanth Menon n...@ti.com writes: Kevin Hilman had written, on 11/19/2010 11:15 AM, the following: Nishanth Menon n...@ti.com writes: From: Eduardo Valentin eduardo.valen...@nokia.com We need to disable the autoidle bit from

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Nishanth Menon
Kevin Hilman had written, on 11/19/2010 01:41 PM, the following: I believe the fix we are attempting here is for a specific scenario which IMHO is different from the issue solved in the link above. It will also solve the above issue indirectly. Yes, it indirectly fixes the issue solved by

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: Santosh Shilimkar had written, on 11/19/2010 11:28 AM, the following: -Original Message- From: Nishanth Menon [mailto:n...@ti.com] Sent: Friday, November 19, 2010 10:55 PM To: Santosh Shilimkar Cc: Kevin Hilman; linux-omap; Jean Pihet; Vishwanath

RE: No more software ECC in omap2.c NAND driver. Why?

2010-11-19 Thread Ghorai, Sukumar
-Original Message- From: Grazvydas Ignotas [mailto:nota...@gmail.com] Sent: Friday, November 19, 2010 4:06 PM To: Ghorai, Sukumar Cc: Charles Manning; linux-omap@vger.kernel.org Subject: Re: No more software ECC in omap2.c NAND driver. Why? On Thu, Nov 18, 2010 at 4:33 PM,

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Nishanth Menon
Kevin Hilman had written, on 11/19/2010 02:39 PM, the following: [...] In addtion, the patch from Santosh needs to better describe what other problems it is solving, since it is clearly not fixing this particular secure mode entry. Therefore, there must be others that are also doing WFI. That

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: Kevin Hilman had written, on 11/19/2010 01:41 PM, the following: I believe the fix we are attempting here is for a specific scenario which IMHO is different from the issue solved in the link above. It will also solve the above issue indirectly. Yes, it

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Nishanth Menon
Kevin Hilman had written, on 11/19/2010 02:55 PM, the following: [...] Now, based on what you say below, it seems like there is no way to guarantee that SMIs don't do this, so I guess we have no choice but to protect them all. In that way, I do like the patch from Santosh - with the relevant

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: Kevin Hilman had written, on 11/19/2010 02:39 PM, the following: [...] In addtion, the patch from Santosh needs to better describe what other problems it is solving, since it is clearly not fixing this particular secure mode entry. Therefore, there must be

Re: [PATCH 08/13] OMAP3: PM: Deny MPU idle while saving secure RAM

2010-11-19 Thread Nishanth Menon
Kevin Hilman had written, on 11/19/2010 03:06 PM, the following: Nishanth Menon n...@ti.com writes: Kevin Hilman had written, on 11/19/2010 02:39 PM, the following: [...] In addtion, the patch from Santosh needs to better describe what other problems it is solving, since it is clearly not

Re: [PATCH 00/13] OMAP3: OFF mode fixes

2010-11-19 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: Bunch of fixes as part of phase 1 targetting mainly OMAP3630 HS devices for OFF mode logic. It is important to note - for proper functionality of HS OFF mode on OMAP3630, CONFIG_OMAP3_L2_AUX_SECURE_SAVE_RESTORE=y and

Re: [PATCH 00/13] OMAP3: OFF mode fixes

2010-11-19 Thread Nishanth Menon
Kevin Hilman had written, on 11/19/2010 03:20 PM, the following: Request for testing this series for comparison between master and this series requested for additional platforms where available. I haven't yet been through the entire series, but some general comments to share before the

  1   2   >