dma_alloc_coherent fragmentation

2009-03-17 Thread Menon, Nishanth
Looping in linux-arm ML: Discussion Ref: [1](linux-omap mailing list) While working with Linux OMAP kernel[2] we found that on allocating 4 meg chunks using dma_alloc_coherent and de-allocating with dma_free_coherent in a loop using a test driver[7], the memory is getting fragmented as shown by

Re: [patch 2.6.29-rc7-omap 5/5] mmc-twl4030 uses regulator framework

2009-03-17 Thread Adrian Hunter
David Brownell wrote: On Monday 16 March 2009, Adrian Hunter wrote: The linker is not happy with built-in code trying to call functions in a module directly. Hmm, I guess I mis-read something ... didn't know the MMC core could be built as a module! So the workaround is not to build it that

Re: Embedded Linux Conference

2009-03-17 Thread Hans Verkuil
On Tuesday 17 March 2009 01:14:28 Steve Sakoman wrote: On Mon, Mar 16, 2009 at 3:56 PM, Tony Lindgren t...@atomide.com wrote: * Kevin Hilman khil...@deeprootsystems.com [090316 15:52]: Hans Verkuil hverk...@xs4all.nl writes: Just FYI: I'll be attending the Embedded Linux Conference

Re: [patch 2.6.29-rc7-omap 5/5] mmc-twl4030 uses regulator framework

2009-03-17 Thread Adrian Hunter
David Brownell wrote: On Monday 16 March 2009, Adrian Hunter wrote: Also vsim (vmmc_aux) is not being found. Elaborate please? The regulator framework complains if it's not there, even when that's not a bug. Sorry, I am at home but I realise now that I did record the message: regulator:

[PATCH 0/3] OMAP3: PM: three fixes for OMAP3 CPU IDLE in PM branch

2009-03-17 Thread Kim Kyuwon
Hi, all I'm sending three small patches for OMAP3 CPU IDLE arch/arm/mach-omap2/cpuidle34xx.c |6 -- arch/arm/mach-omap2/pm34xx.c |5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) Your comments appreciated. Regards, Kim Kyuwon -- To unsubscribe from this list: send

[PATCH 1/3] OMAP3: PM: include 'mach/irqs.h'

2009-03-17 Thread Kim Kyuwon
This patch fixes this compile error CC arch/arm/mach-omap2/cpuidle34xx.o arch/arm/mach-omap2/cpuidle34xx.c:100: error: implicit declaration of function 'omap_irq_pending' make[1]: *** [arch/arm/mach-omap2/cpuidle34xx.o] Error 1 The omap_irq_pending() function is declared in

[PATCH 2/3] OMAP3: PM: Remove double assignments of mpu_pd, core_pd

2009-03-17 Thread Kim Kyuwon
mpu_pd, core_pd is already assigned at the beginning of the omap3_idle_init() function. Signed-off-by: Kim Kyuwon q1@samsung.com --- arch/arm/mach-omap2/cpuidle34xx.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle34xx.c

[PATCH 3/3] OMAP3: PM: invoke omap_sram_idle() only when sleep_while_idle is enabled

2009-03-17 Thread Kim Kyuwon
If MPU goes to WFI in the idle thread, execution time becomes a bit slow and the JTAG Debugger doesn't work. This patch is needed for urgent works(e.g. booting and launching application) and debugging. To enable sleep_while_idle mode, use below setting. echo 1 /sys/power/sleep_while_idle

Re: [PATCH] regulator: twl4030 VAUX3 supports 3.0V

2009-03-17 Thread Adrian Hunter
Liam Girdwood wrote: On Fri, 2009-03-06 at 14:48 -0800, David Brownell wrote: On Friday 06 March 2009, Mark Brown wrote: Would it make sense to make this platform data so that if a given board requires running the chip like this it can be enabled for those boards but it's not something people

Re: [2.6.29-rc7][take #2][PATCH 2/3] ARM: OMAP: Add command line option for I2C bus speed

2009-03-17 Thread Jarkko Nikula
On Mon, 16 Mar 2009 18:29:08 +0100 ext Tony Lindgren t...@atomide.com wrote: * Jarkko Nikula jarkko.nik...@nokia.com [090310 01:47]: This patch adds a new command line option i2c_bus=bus_id,clkrate into I2C bus registration helper. Purpose of the option is to override the default board

Re: [PATCH 1/4] ARM: OMAP3: Add SMSC911X support to Overo platform (V2)

2009-03-17 Thread Steve . Glendinning
Hi Tony, Tony Lindgren t...@atomide.com wrote on 16/03/2009 18:08:01: * Russell King - ARM Linux li...@arm.linux.org.uk [090315 10:37]: On Sun, Mar 15, 2009 at 10:13:47AM -0700, Steve Sakoman wrote: On Sun, Mar 15, 2009 at 10:00 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote:

Re: [PATCH] tidspbridge: remove revision history

2009-03-17 Thread Felipe Contreras
On Tue, Mar 17, 2009 at 6:50 AM, Menon, Nishanth n...@ti.com wrote: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Felipe Contreras Sent: Tuesday, March 17, 2009 12:06 AM To: linux-omap@vger.kernel.org Cc: Kanigeri,

RE: [PATCH] tidspbridge: remove revision history

2009-03-17 Thread Menon, Nishanth
Hi Felipe, -Original Message- From: Felipe Contreras [mailto:felipe.contre...@gmail.com] Sent: Tuesday, March 17, 2009 11:17 AM To: Menon, Nishanth Cc: linux-omap@vger.kernel.org; Kanigeri, Hari; Hiroshi DOYU; Ameya Palande; Guzman Lugo, Fernando Subject: Re: [PATCH] tidspbridge:

Re: [PATCH] tidspbridge: remove revision history

2009-03-17 Thread Felipe Contreras
On Tue, Mar 17, 2009 at 11:40 AM, Menon, Nishanth n...@ti.com wrote: Hi Felipe, -Original Message- From: Felipe Contreras [mailto:felipe.contre...@gmail.com] Sent: Tuesday, March 17, 2009 11:17 AM To: Menon, Nishanth Cc: linux-omap@vger.kernel.org; Kanigeri, Hari; Hiroshi DOYU; Ameya

Re: [PATCH] regulator: twl4030 VAUX3 supports 3.0V

2009-03-17 Thread Liam Girdwood
On Tue, 2009-03-17 at 09:36 +0200, Adrian Hunter wrote: Liam Girdwood wrote: On Fri, 2009-03-06 at 14:48 -0800, David Brownell wrote: On Friday 06 March 2009, Mark Brown wrote: Would it make sense to make this platform data so that if a given board requires running the chip like this it

[PATCH] ARM: OMAP2: possible division by 0

2009-03-17 Thread Roel Kluin
In linus' git tree the functions can be found at: vi arch/arm/mach-omap2/usb-tusb6010.c +200 - tusb6010_platform_retime() vi arch/arm/mach-omap2/gpmc.c +94 - gpmc_get_fclk_period() vi arch/arm/mach-omap2/usb-tusb6010.c +53 - tusb_set_async_mode() vi

RE: [PATCH] tidspbridge: remove revision history

2009-03-17 Thread Kanigeri, Hari
Note: There are folks whose contributions are reduced to vp rr sp etc.. I personally have no clue who they are but I guess they would rather be in git log than in anonymous initials if given a choice today.. -- You and me might not know who vp, rr, and sb are :), but these guys know who

RE: [PATCH] tidspbridge: remove revision history

2009-03-17 Thread Menon, Nishanth
-Original Message- From: Kanigeri, Hari Sent: Tuesday, March 17, 2009 3:32 PM To: Felipe Contreras; Menon, Nishanth Cc: linux-omap@vger.kernel.org; Hiroshi DOYU; Ameya Palande; Guzman Lugo, Fernando Subject: RE: [PATCH] tidspbridge: remove revision history Contributors can be

Re: Embedded Linux Conference

2009-03-17 Thread Kevin Hilman
Hans Verkuil wrote: On Tuesday 17 March 2009 01:14:28 Steve Sakoman wrote: On Mon, Mar 16, 2009 at 3:56 PM, Tony Lindgren t...@atomide.com wrote: * Kevin Hilman khil...@deeprootsystems.com [090316 15:52]: Hans Verkuil hverk...@xs4all.nl writes: Just FYI: I'll be attending the Embedded Linux

Re: [PATCH 3/3] OMAP3: PM: invoke omap_sram_idle() only when sleep_while_idle is enabled

2009-03-17 Thread Kevin Hilman
Kim Kyuwon chamm...@gmail.com writes: If MPU goes to WFI in the idle thread, execution time becomes a bit slow and the JTAG Debugger doesn't work. This patch is needed for urgent works(e.g. booting and launching application) and debugging. Kim, Do you still need this patch when using the new

Re: [PATCH 2/3] OMAP3: PM: Remove double assignments of mpu_pd, core_pd

2009-03-17 Thread Kevin Hilman
Kim Kyuwon chamm...@gmail.com writes: mpu_pd, core_pd is already assigned at the beginning of the omap3_idle_init() function. Signed-off-by: Kim Kyuwon q1@samsung.com Thanks, pushing to PM branch. Kevin --- arch/arm/mach-omap2/cpuidle34xx.c |2 -- 1 files changed, 0

Re: About two patches that I sent recently.

2009-03-17 Thread Kevin Hilman
Kim Kyuwon chamm...@gmail.com writes: Hi, Kevin On Tue, Mar 10, 2009 at 2:21 AM, Kevin Hilman khil...@deeprootsystems.com wrote: Kim Kyuwon chamm...@gmail.com writes: Hi, Kevin Hilman. I'm sending this mail to tell you a few things about two recent fetches that I sent. 1. [OMAP: GPIO:

RE: Embedded Linux Conference

2009-03-17 Thread Hiremath, Vaibhav
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Tuesday, March 17, 2009 4:22 AM To: Hans Verkuil Cc: linux-me...@vger.kernel.org; linux-omap@vger.kernel.org; Hadli, Manjunath; DongSoo(Nathaniel) Kim; Aguirre Rodriguez, Sergio Alberto; Hiremath,

[APPLIED] [PATCH 1/4] Clean-up rx51 a bit and set the regulators.

2009-03-17 Thread Tony Lindgren
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Commit: 2134f6cd63a8126f6b1f23e906c912dc1bd30645 PatchWorks http://patchwork.kernel.org/patch/11831/ Git

[APPLIED] [PATCH 3/4] Set the smc91x timings for rx51

2009-03-17 Thread Tony Lindgren
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Commit: ca0467553d2eb424002d8986542704fc7647faf5 PatchWorks http://patchwork.kernel.org/patch/11833/ Git

[APPLIED] [PATCH 2/4] Bugfix to RX51 flash support: this board has no NOR

2009-03-17 Thread Tony Lindgren
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Commit: 7ad710cd6907220b5617e87e42a8de2c04cb10b9 PatchWorks http://patchwork.kernel.org/patch/11832/ Git

Re: Embedded Linux Conference

2009-03-17 Thread Tony Lindgren
* Kevin Hilman khil...@deeprootsystems.com [090317 07:50]: Hans Verkuil wrote: On Tuesday 17 March 2009 01:14:28 Steve Sakoman wrote: On Mon, Mar 16, 2009 at 3:56 PM, Tony Lindgren t...@atomide.com wrote: * Kevin Hilman khil...@deeprootsystems.com [090316 15:52]: Hans Verkuil

TI OMAP3503 GPMC and SDMA multiplexing modes

2009-03-17 Thread Elvis Dowson
Hi, I have a few questions regarding using the TI OMAP GPMC and SDMA together with an external device. Question 01: How can I set up the multiplexing modes for the TI OMAP 3503 GPMC and SDMA controller ? The GPMC has 4 multiplexing options/ modes and the SDMA has 8 modes of operation.

Re: Embedded Linux Conference

2009-03-17 Thread Dongsoo Kim
Hi Tony, I think I can join you. And also Kyungmin Park I guess. See you then. Nate 2009. 03. 18, 오전 1:45, Tony Lindgren 작성: * Kevin Hilman khil...@deeprootsystems.com [090317 07:50]: Hans Verkuil wrote: On Tuesday 17 March 2009 01:14:28 Steve Sakoman wrote: On Mon, Mar 16, 2009 at 3:56

Re: [patch 2.6.29-rc8 regulator-next] regulator: init fixes (v4)

2009-03-17 Thread David Brownell
On Monday 16 March 2009, Mark Brown wrote: On Sat, Mar 14, 2009 at 09:05:29PM -0700, David Brownell wrote: was called. It's not exactly hard to check if it was enabled, then act accordingly, in the typical single consumer of the regulator case. How typical that is depends very much on

Re: [PATCH 1/1] OMAP3: PM: Add the wakeup source driver

2009-03-17 Thread Kevin Hilman
Kim Kyuwon chamm...@gmail.com writes: Sometimes, it is necessary to find out what does wake up my board?. Notifying wake-up source feature may be used to blame unexpected wake-up events which increase power consumption. And user mode applications can act smartly according to the wake-up event

Re: [PATCH] tidspbridge: remove revision history

2009-03-17 Thread Felipe Contreras
On Tue, Mar 17, 2009 at 3:43 PM, Menon, Nishanth n...@ti.com wrote: -Original Message- From: Kanigeri, Hari Sent: Tuesday, March 17, 2009 3:32 PM To: Felipe Contreras; Menon, Nishanth Cc: linux-omap@vger.kernel.org; Hiroshi DOYU; Ameya Palande; Guzman Lugo, Fernando Subject: RE:

Re: [PATCH 3/3] OMAP3: PM: invoke omap_sram_idle() only when sleep_while_idle is enabled

2009-03-17 Thread Kim Kyuwon
On Tue, Mar 17, 2009 at 11:53 PM, Kevin Hilman khil...@deeprootsystems.com wrote: Kim Kyuwon chamm...@gmail.com writes: If MPU goes to WFI in the idle thread, execution time becomes a bit slow and the JTAG Debugger doesn't work. This patch is needed for urgent works(e.g. booting and launching

[PATCH A 02/15] tidspbridge: trivial cleanup

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Remove comments that introduce noise. Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/wmd/tiomap_sm.c | 46 ++- 1 files changed, 3 insertions(+), 43 deletions(-) diff --git

[PATCH A 03/15] tidspbridge: remove unused stuff

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/wmd/tiomap_sm.c | 22 +- 1 files changed, 1 insertions(+), 21 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c

[PATCH A 04/15] tidspbridge: remove IO_CALLDPC

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Doesn't do anything Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- arch/arm/plat-omap/include/dspbridge/chnl_sm.h | 17 - arch/arm/plat-omap/include/dspbridge/io_sm.h |1 - drivers/dsp/bridge/wmd/io_sm.c

[PATCH A 05/15] tidspbridge: whitespace cleanups

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/wmd/tiomap_sm.c | 83 +--- 1 files changed, 39 insertions(+), 44 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c

[PATCH A 06/15] tidspbridge: trivial cleanups

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/wmd/tiomap_sm.c | 81 +++- 1 files changed, 34 insertions(+), 47 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c

[PATCH A 07/15] tidspbridge: hDevContext == pDevContext

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/wmd/tiomap_sm.c | 23 ++- 1 files changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c

[PATCH A 08/15] tidspbridge: remove UTIL_Wait wrapper

2009-03-17 Thread Felipe Contreras
Wrappers only hurt readability, use native kernel functions instead (udelay, mdelay). Also remove useless defines. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- arch/arm/plat-omap/include/dspbridge/util.h | 33 --- drivers/dsp/bridge/wmd/_tiomap_pwr.h

[PATCH A 09/15] tidspbridge: cleanup and remove HW_MBOX_IsFull

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com HW_MBOX_IsFull has many convoluted macros and is used only once. Clean it up so it's easier to see what it's actually doing. Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/hw/hw_mbox.c| 25

[PATCH A 10/15] tidspbridge: remove udelay and use time_after instead

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com As suggested by Juha Yrjola. Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/wmd/tiomap_sm.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c

[PATCH A 11/15] tidspbridge: Remove IO_InterruptDSP

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com IO_InterruptDSP2 can do the same. Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- arch/arm/plat-omap/include/dspbridge/io_sm.h |1 - drivers/dsp/bridge/wmd/io_sm.c | 10 +- 2 files changed, 5

[PATCH A 12/15] tidspbridge: remove IO_InterruptDSP2

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com It's just wrapping CHNLSM_InterruptDSP2. Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- arch/arm/plat-omap/include/dspbridge/io_sm.h |1 - drivers/dsp/bridge/wmd/io_sm.c | 12 ++--

[PATCH A 13/15] tidspbridge: remove CHNLSM_InterruptDSP

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Not used anymore, move to CHNLSM_InterruptDSP2. Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- arch/arm/plat-omap/include/dspbridge/chnl_sm.h | 16 drivers/dsp/bridge/wmd/tiomap_sm.c | 10

[PATCH A 14/15] tidspbridge: remove wIntrVal2Dsp

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Not really used. Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/wmd/_tiomap.h|1 - drivers/dsp/bridge/wmd/tiomap3430.c |2 -- drivers/dsp/bridge/wmd/tiomap_sm.c |6 ++ 3 files changed, 2

[PATCH A 15/15] tidspbridge: print an error when timing out

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com We really want to catch these. Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/wmd/tiomap_sm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c

[PATCH B 0/3] tidspbridge: don't flood the mailbox

2009-03-17 Thread Felipe Contreras
This patch series is meant to be applied on top of the previous one (A) and fixes a very nasty problem that causes interrupts to be constantly dropped since the mailbox is full most of the time. The details are explained in patch 0001. Flooding the mailbox causes reliability issues (messages

[PATCH B 1/3] tidspbridge: don't flood the mailbox on MemUnMap

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Impact: improves performance and reliability Check the hardware state of the DSP before sending the command to wake it up thus avoiding to flood the mailbox unnecessarily. By doing that the mailbox is free most of the time which dramatically

[PATCH B 2/3] tidspbridge: cleanup and remove HW_MMU_TLBFlushAll

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com It doesn't make sense to have layers and layers of constants and defines to turn one bit on. Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/hw/MMUAccInt.h |3 --- drivers/dsp/bridge/hw/MMURegAcM.h |

[PATCH B 3/3] tidspbridge: decreate timeout to a saner value

2009-03-17 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@nokia.com Signed-off-by: Felipe Contreras felipe.contre...@nokia.com --- drivers/dsp/bridge/wmd/tiomap_sm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c b/drivers/dsp/bridge/wmd/tiomap_sm.c

Re: [PATCH] tidspbridge: remove revision history

2009-03-17 Thread David Brownell
On Tuesday 17 March 2009, Felipe Contreras wrote: Ack, I think we could collate those in revision history to Contributor's section? Here's the list: a0216266 ag AL ap cr cring db dr ge gp HK hn hp jeh kc map mg rg rr sb sg sh swa vp I have no idea why I'm in that

PM branch rebased to 2.6.29

2009-03-17 Thread Kevin Hilman
FYI... The PM branch has now been rebased to today's linux-omap HEAD which is based on v2.6.29-rc8. The previous PM branch has been renamed to pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not (yet) have the latest PM branch. If not, you can use my PM tree[1] directly.