On Fri, Jul 1, 2011 at 1:06 AM, Cousson, Benoit b-cous...@ti.com wrote:
Hi Balaji,
On 6/30/2011 9:04 PM, Krishnamoorthy, Balaji T wrote:
Removing the custom state machine - lazy disable framework in omap_hsmmc
to make way for runtime pm to handle host controller
power states.
This allows
How to increase the number blocks for SD Read operation? Any sysfs entry?
-Original Message-
From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-ow...@vger.kernel.org]
On Behalf Of Wolfram Sang
Sent: Friday, July 01, 2011 2:48 PM
To: Koen Beel
Cc: linux-mmc@vger.kernel.org;
Hi,
Think the tabs problem was due to the gmail web ui.
Hope it's better now.
Signed-off-by: Koen Beel koen.beel at barco.com
---
drivers/mmc/host/mxs-mmc.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/mmc/host/mxs-mmc.c
Think the tabs problem was due to the gmail web ui.
Hope it's better now.
No 0xa0 anymore, but still no tabs. Oh, and lines are wrapped.
Documentation/email-clients.txt says
===
Gmail (Web GUI)
Does not work for sending patches.
Gmail web client converts tabs to spaces automatically.
At
I send the patch as attachment for now.
But I'll have to look into another way of doing this. Corporate mail
system is adding stupid disclaimers, gmail web ui is not working ok
and corporate firewalls avoid using a different smtp server...
On Fri, Jul 1, 2011 at 2:27 PM, Wolfram Sang
On 28 June 2011 10:11, Per Forlin per.for...@linaro.org wrote:
Add four tests for read and write performance per
different transfer size, 4k to 4M.
* Read using blocking mmc request
* Read using non-blocking mmc request
* Write using blocking mmc request
* Write using non-blocking mmc
On 28 June 2011 10:11, Per Forlin per.for...@linaro.org wrote:
test that measures how the mmc bandwidth depends on the numbers of sg elements
in the sg list. The transfer size if fixed and sg length goes from a few up
to 512. The purpose is to measure overhead caused by multiple sg elements.
Le 30/06/2011 15:13, Uwe Kleine-König :
Hello Nicolas,
On Thu, Jun 30, 2011 at 03:49:41PM +0200, Nicolas Ferre wrote:
Take care of slots while going to suspend state.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
---
On Fri, 2011-07-01 at 16:22 +0200, Nicolas Ferre wrote:
Le 30/06/2011 15:13, Uwe Kleine-König :
snipp
Well, actually for the current implementation the only return code is... 0.
And here I try to have a king of best effort approach ;-)
+ }
+ return ret;
Can read_ahead_kb can be used to increase the number of read blocks?
-Original Message-
From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-ow...@vger.kernel.org]
On Behalf Of Sachin Nikam
Sent: Friday, July 01, 2011 5:12 PM
To: 'Wolfram Sang'; Koen Beel
Cc:
Hi,
On Fri, Jul 01, 2011 at 03:26:39PM +0200, Koen Beel wrote:
I send the patch as attachment for now.
Fine with me in this case...
But I'll have to look into another way of doing this. Corporate mail
system is adding stupid disclaimers, gmail web ui is not working ok
and corporate
On Fri, Jul 01, 2011 at 08:08:48PM +0530, Sachin Nikam wrote:
Can read_ahead_kb can be used to increase the number of read blocks?
Unless you start a _new thread_ for your question and describe your problem in
a bit more detail, you probably won't get an answer.
--
Pengutronix e.K.
On Fri, Jul 01, 2011 at 04:44:09PM +0200, Wolfram Sang wrote:
Hi,
On Fri, Jul 01, 2011 at 03:26:39PM +0200, Koen Beel wrote:
I send the patch as attachment for now.
Fine with me in this case...
But I'll have to look into another way of doing this. Corporate mail
system is adding
On Fri, Jul 1, 2011 at 4:53 AM, Kevin Hilman khil...@ti.com wrote:
Balaji T K balaj...@ti.com writes:
+static int omap_hsmmc_runtime_resume(struct device *dev)
+{
+ struct omap_hsmmc_host *host;
+
+ host = platform_get_drvdata(to_platform_device(dev));
+
lazy_disable framework in OMAP HSMMC manages multiple low power states
and Card is powered off after inactivity time of 8 seconds.
Based on previous discussion on the list, card power (regulator)
handling (when to power OFF/ON) should ideally be handled by core layer.
Remove usage of lazy disable
Removing the custom state machine - lazy disable framework in omap_hsmmc
to make way for runtime pm to handle host controller
power states.
This allows mmc_host_enable/mmc_host_disable to be replaced by
runtime get_sync and put_sync at host controller driver.
Enable runtime PM in omap_hsmmc
add runtime pm support to HSMMC host controller
Use runtime pm API to enable/disable HSMMC clock
Use runtime autosuspend APIs to enable auto suspend delay
Based on OMAP HSMMC runtime implementation by Kevin Hilman, Kishore Kadiyala
Signed-off-by: Balaji T K balaj...@ti.com
---
changes since v3
After runtime conversion to handle clk,
iclk node is not used
However fclk node is still used to get clock rate.
Signed-off-by: Balaji T K balaj...@ti.com
---
drivers/mmc/host/omap_hsmmc.c | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git
On Thursday 30 June 2011, Russell King - ARM Linux wrote:
We've been here before - with PCMCIA's card insertion code, where you
have to go through a sequence of events (insert, power up, reset, etc).
The PCMCIA code used to have a collection of small functions to do
each step, one chained
Previously there has only been one function mmc_wait_for_req()
to start and wait for a request. This patch adds
* mmc_start_req() - starts a request wihtout waiting
If there is on ongoing request wait for completion
of that request and start the new one and return.
Does not wait for the
pre_req() runs dma_map_sg(), post_req() runs dma_unmap_sg.
If not calling pre_req() before omap_hsmmc_request()
dma_map_sg will be issued before starting the transfer.
It is optional to use pre_req(). If issuing pre_req()
post_req() must be to be called as well.
Signed-off-by: Per Forlin
Add a debugfs file testlist to print all available tests
Signed-off-by: Per Forlin per.for...@linaro.org
Acked-by: Kyungmin Park kyungmin.p...@samsung.com
Acked-by: Arnd Bergmann a...@arndb.de
Reviewed-by: Venkatraman S svenk...@ti.com
Tested-by: Sourav Poddarsourav.pod...@ti.com
Tested-by: Linus
Add four tests for read and write performance per
different transfer size, 4k to 4M.
* Read using blocking mmc request
* Read using non-blocking mmc request
* Write using blocking mmc request
* Write using non-blocking mmc request
The host dirver must support pre_req() and post_req()
in order
test that measures how the mmc bandwidth depends on the numbers of sg elements
in the sg list. The transfer size if fixed and sg length goes from a few up
to 512. The purpose is to measure overhead caused by multiple sg elements.
Signed-off-by: Per Forlin per.for...@linaro.org
Acked-by: Kyungmin
The way the request data is organized in the mmc queue struct
it only allows processing of one request at the time.
This patch adds a new struct to hold mmc queue request data such as
sg list, request, blk request and bounce buffers, and updates any functions
depending on the mmc queue struct.
Break out code from mmc_blk_issue_rw_rq to create a
block request prepare function. This doesn't change
any functionallity. This helps when handling more
than one active block request.
Signed-off-by: Per Forlin per.for...@linaro.org
Acked-by: Kyungmin Park kyungmin.p...@samsung.com
Acked-by: Arnd
This simple fault injection proved to be very useful to
test the error handling in the block.c rw_rq(). It may
still be useful to test if the host driver handle
pre_req() and post_req() correctly in case of errors.
Signed-off-by: Per Forlin per.for...@linaro.org
Acked-by: Kyungmin Park
Break out code without functional changes. This simplifies the code and
makes way for handle two parallel request.
Signed-off-by: Per Forlin per.for...@linaro.org
Acked-by: Kyungmin Park kyungmin.p...@samsung.com
Acked-by: Arnd Bergmann a...@arndb.de
Reviewed-by: Venkatraman S svenk...@ti.com
Change mmc_blk_issue_rw_rq() to become asynchronous.
The execution flow looks like this:
The mmc-queue calls issue_rw_rq(), which sends the request
to the host and returns back to the mmc-queue. The mmc-queue calls
issue_rw_rq() again with a new request. This new request is prepared,
in
pre_req() runs dma_map_sg() and prepares the dma descriptor
for the next mmc data transfer. post_req() runs dma_unmap_sg.
If not calling pre_req() before mmci_request(), mmci_request()
will prepare the cache and dma just like it did it before.
It is optional to use pre_req() and post_req() for
From: Madhusudhan Chikkature madhu...@ti.com
Update the OMAP HS MMC entry from the MAINTAINERS file as I will
no longer be able to maintain this driver.
Signed-off-by: Madhusudhan Chikkature madhu...@ti.com
[khil...@ti.com: change to Orphan rather than complete removal]
Signed-off-by: Kevin
S, Venkatraman svenk...@ti.com writes:
On Fri, Jul 1, 2011 at 2:37 AM, Chikkature@lina0132712 wrote:
From: Madhusudhan Chikkature madhu...@ti.com
Removing the OMAP HS MMC entry from the MAINTAINERS file as I will
no longer be able to maintain this driver.
Signed-off-by: Madhusudhan
Hi,
On Mon, Jun 27 2011, Shawn Guo wrote:
I'll need to rebase mmc-next onto linux-next before I can merge it,
because the mach-imx/ board files you're modifying do not exist in
Linus' tree. (I don't mind doing that, but it might be easier if
you had the ARM patches go in via a different tree
Currently, platform data is referenced by non init functions.
Copy these fields into locally defined struct pltfm_imx_data.
The code also currently frees imx_data on troubles with
cd_gpio, but returns 0 anyway. Now the code ignores cd_gpio
and wp_gpio if the values cause an error.
Also, allow
Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com
---
arch/arm/plat-mxc/include/mach/esdhc.h |5 +
drivers/mmc/host/sdhci-esdhc-imx.c |1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-mxc/include/mach/esdhc.h
35 matches
Mail list logo