Re: Timekeeping issue on aggressive suspend/resume

2010-06-14 Thread Suresh Rajashekara
On Thu, Jun 10, 2010 at 12:52 PM, john stultz johns...@us.ibm.com wrote: I think Thomas was suggesting that you consider creating a option for where CLOCK_MONOTONIC included total_sleep_time. In that case the *hack* (and this is a hack, we'll need some more thoughtful discussion before

Re: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-14 Thread Hiroshi DOYU
Hi Ohad, From: ext Ohad Ben-Cohen o...@wizery.com Subject: Re: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo Date: Mon, 14 Jun 2010 01:52:16 +0200 On Wed, Jun 9, 2010 at 12:07 AM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: diff --git a/arch/arm/plat-omap/mailbox.c

[PATCH] omap: mux: Add api to retrieve padconf offset based on muxname

2010-06-14 Thread Govindraj.R
Adds a padconf offset retrieval api which will get us the padconf offset based on muxname provided which can be later used with omap_ctrl_writew, omap_ctrl_readw calls for remuxing signals. Cc: Tony Lindgren t...@atomide.com Signed-off-by: Govindraj.R govindraj.r...@ti.com --- Patch is based on

RE: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-14 Thread C.A, Subramaniam
Hi Ohad/Hiroshi, Good to see the new mailbox requirements. While we are at it can we add some more :)? * Make the mailbox as a generic driver. Meaning, users can request for a pair of mailbox rather than using a set of pre-defined ones. For eg: Instead of doing an

[PATCH v5] OMAP: Fix for bus width which improves SD card's peformance.

2010-06-14 Thread kishore kadiyala
This patch improves low speeds for SD cards. OMAP-MMC controller's can support maximum bus width of '8'. when bus width is mentioned as 8 in controller data,the SD stack will check whether bus width is 4 and if not it will set bus width to 1 and there by degrading performance. This patch fixes the

[PATCH] mailbox: change full flag per mailbox queue instead of global

2010-06-14 Thread Fernando Guzman Lugo
As pointed by Ben Ohand, the variable rq_full flag is a global variable, so if there are multiple mailbox users there will be conflics. Now there is a full flag per mailbox queue. Reported-by: Ohad Ben-Cohen o...@wizery.com Signed-off-by: Fernando Guzman Lugo x0095...@ti.com ---

RE: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-14 Thread Sapiens, Rene
Hi Hiroshi -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Hiroshi DOYU Sent: Monday, June 14, 2010 3:58 AM To: Guzman Lugo, Fernando; o...@wizery.com Cc: Chitriki Rudramuni, Deepak; Ramirez Luna, Omar; Kanigeri,

Re: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-14 Thread Felipe Contreras
On Mon, Jun 14, 2010 at 11:58 AM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: From: ext Ohad Ben-Cohen o...@wizery.com * Let's make sure no one accidentally registers two receivers on the same time (which would result in one overwriting the other's callback field). I'd like to allow mutiple

RE: [PATCH 0/2] dspbridge: reorganize initialization and probe

2010-06-14 Thread Ramirez Luna, Omar
From: Ramirez Luna, Omar Split the functions to have cleaner error handling paths, this will aslo cover a case where bridge initialization has failed but device entry is still available which leads to unknown behavior. Omar Ramirez Luna (2): DSPRBIDGE: split probe from bridge initializations

RE: [PATCH 1/2] DSPBRIDGE: fix a wrong clk index for gpt8

2010-06-14 Thread Ramirez Luna, Omar
From: Ramirez Luna, Omar Mismatch between index for gpt clocks will result in writting out of bounds into dsp clock timer array when requesting gpt8, for the other gpt the bogus code is being masked as it falls within the array's range. Discovered-by: Ernesto Ramos Falcon erne...@ti.com

RE: [PATCH 2/2] DSPBRIDGE: reorganize gpt8 overflow handling

2010-06-14 Thread Ramirez Luna, Omar
From: Ramirez Luna, Omar New function to encapsulate previous code to configure gpt overflow, this prevents accessing dmtimer framework outside dsp-clock interface or exposing clock handles to other bridge modules. Besides that: duplicated and unused defines were removed, conditional test for

Re: Timekeeping issue on aggressive suspend/resume

2010-06-14 Thread john stultz
On Mon, 2010-06-14 at 00:46 -0700, Suresh Rajashekara wrote: On Thu, Jun 10, 2010 at 12:52 PM, john stultz johns...@us.ibm.com wrote: I think Thomas was suggesting that you consider creating a option for where CLOCK_MONOTONIC included total_sleep_time. In that case the *hack* (and this is

Re: Timekeeping issue on aggressive suspend/resume

2010-06-14 Thread Thomas Gleixner
On Mon, 14 Jun 2010, john stultz wrote: On Mon, 2010-06-14 at 00:46 -0700, Suresh Rajashekara wrote: On Thu, Jun 10, 2010 at 12:52 PM, john stultz johns...@us.ibm.com wrote: I think Thomas was suggesting that you consider creating a option for where CLOCK_MONOTONIC included

RE: [PATCH] DSPBRIDGE: Fix wrong prints of DBC_ENSURE()

2010-06-14 Thread Ramirez Luna, Omar
From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Gomez Castellanos, Ivan The patch DSPBRIDGE: Check pointer instead of using MEM_IS_VALID_HANDLE macro uncovered an issue when calling the assertion macros after the pointer was freed, but not set to

RE: [PATCHv3] DSPBRIDGE: Include missing info in MMU Fault debugging trace

2010-06-14 Thread Ramirez Luna, Omar
From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Ramos Falcon, Ernesto Some execution info is missing at the beginning of the trace buffer printout. This fix is to include this information according to the buffer contents description and also couple

[PATCH] DSPBRIDGE: driver version 0.3

2010-06-14 Thread Omar Ramirez Luna
driver version 0.3 Signed-off-by: Omar Ramirez Luna omar.rami...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index cdc7f1b..f0f089b

Re: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-14 Thread Ohad Ben-Cohen
Hi Hiroshi, On Mon, Jun 14, 2010 at 3:58 AM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: Does dspbridge really need its own defered work for sending mailbox messages? We do, according to http://permalink.gmane.org/gmane.linux.ports.arm.omap/38240 (thanks Rene for the explanation). For

Re: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-14 Thread Ohad Ben-Cohen
Hi Subbu, On Mon, Jun 14, 2010 at 10:56 AM, C.A, Subramaniam subramaniam...@ti.com wrote: Hi Ohad/Hiroshi, Good to see the new mailbox requirements. While we are at it can we add some more :)? ... Please provide your feedback! Feel free to send the patches ;) Thanks, Ohad. -- To