[PATCH v2 1/1] mmc: sd: UHS-I bus speed should be set last in UHS initialization

2011-08-08 Thread Subhash Jadavani
mmc_sd_init_uhs_card function sets the driver type, current limit and bus speed mode on card as well as on host controller side. Currently bus speed mode is set by sending CMD6 to card and immediately setting the timing mode in host controller. But then before initiating tuning sequence, it also t

[PATCH v2] mmc: support HPI send command

2011-08-08 Thread Jaehoon Chung
This patch is added sending function for HPI command. HPI command is defined in eMMC4.41. We didn't use this feature..but maybe we need to use HPI command for eMMC4.5 feature. (If we use HPI command, it's useful for increasing performance and decreasing latency.) This patch is based on Chuanxia

Re: [PATCH --mmotm v5 0/3] Make fault injection available for MMC IO

2011-08-08 Thread Akinobu Mita
All three patches look good. Acked-by: Akinobu Mita 2011/8/9 Per Forlin : > This patchset is sent to the mm-tree because it depends on Akinobu's patch > "fault-injection: add ability to export fault_attr in..." That patch has already been merged in mainline. -- To unsubscribe from this list: sen

[PATCH --mmotm v5 3/3] fault injection: add documentation on MMC IO fault injection

2011-08-08 Thread Per Forlin
Add description on how to enable random fault injection for MMC IO Signed-off-by: Per Forlin --- Documentation/fault-injection/fault-injection.txt |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Documentation/fault-injection/fault-injection.txt b/Documentation/fault

[PATCH --mmotm v5 2/3] mmc: core: add random fault injection

2011-08-08 Thread Per Forlin
This adds support to inject data errors after a completed host transfer. The mmc core will return error even though the host transfer is successful. This simple fault injection proved to be very useful to test the non-blocking error handling in the mmc_blk_issue_rw_rq(). Random faults can also test

[PATCH --mmotm v5 1/3] fault-inject: export fault injection functions

2011-08-08 Thread Per Forlin
export symbols fault_should_fail() and fault_create_debugfs_attr() in order to let modules utilize the fault injection Signed-off-by: Per Forlin --- lib/fault-inject.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/fault-inject.c b/lib/fault-inject.c index f193b77.

[PATCH --mmotm v5 0/3] Make fault injection available for MMC IO

2011-08-08 Thread Per Forlin
This patchset is sent to the mm-tree because it depends on Akinobu's patch "fault-injection: add ability to export fault_attr in..." change log: v2 - Resolve build issue in mmc core.c due to multiple init_module by removing the fault inject module. - Export fault injection functions to

Re: [PATCH v1 1/1] mmc: sd: UHS-I bus speed should be set last in UHS initialization

2011-08-08 Thread Philip Rakity
On Aug 7, 2011, at 11:46 PM, Nath, Arindam wrote: > Hi Subhash, > > >> -Original Message- >> From: Subhash Jadavani [mailto:subha...@codeaurora.org] >> Sent: Monday, August 08, 2011 12:09 PM >> To: Nath, Arindam; linux-mmc@vger.kernel.org; 'Philip Rakity' >> Cc: linux-arm-...@vger.kerne

[PATCH] mmc: remove not using parameter in struct mmc_ios

2011-08-08 Thread Jaehoon Chung
This patch is removed ddr parameter in struct mmc_ios. If applied Seungwon's Patch([PATCH] mmc: dw_mmc: Fix DDR mode support.), no more used. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- include/linux/mmc/host.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) dif

RFC[PATCH] SDHCI: S3C: Use bus clocks created using clkdev

2011-08-08 Thread Rajeshwari Shinde
This patch modifies the driver to stop depending on the clock names being passed from the platform and switch over to lookup clocks generic names created using clkdev. Signed-off-by: Rajeshwari Shinde --- drivers/mmc/host/sdhci-s3c.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-

[PATCH V4] mmc: Enable the ADMA2 on esdhc imx driver

2011-08-08 Thread Richard Zhu
Eanble the ADMA2 mode for freescale esdhc imx driver, tested on MX25 3DS board, MX51 BBG board and MX53 LOCO board. This patch is only used to enable the ADMA2 for MX51/53 platforms. MX25/35 can't support the ADMA2 mode, set BROKEN_ADMA quirk on MX25/35 platforms. The ADMA mode supported or not c

RE: [PATCH] mmc: support HPI send command

2011-08-08 Thread Dong, Chuanxiao
> -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Monday, August 08, 2011 3:22 PM > To: Dong, Chuanxiao > Cc: Jaehoon Chung; linux-mmc@vger.kernel.org; Chris Ball; Kyungmin Park; > Hanumath Prasad; svenk...@ti.com > Subject: Re: [PATCH] mmc: support HPI se

Re: [PATCH] mmc: support HPI send command

2011-08-08 Thread Jaehoon Chung
Hi Chuanxiao. Sorry, i couldn't see the below your comment. :) Dong, Chuanxiao wrote: > Hi Chung, > Glad to see HPI command is useful in our MMC stack. :) > If this patch can also include a case which uses mmc_interrupt_hpi function, > that would be better. > >> -Original Message- >> Fr

Re: [PATCH] mmc: support HPI send command

2011-08-08 Thread Jaehoon Chung
Hi Chuanxiao. Thank you for your comment. Right, you mentioned, including some case should be better. So i will send some patch for the case that use HPI command. Regards, Jaehoon Chung Dong, Chuanxiao wrote: > Hi Chung, > Glad to see HPI command is useful in our MMC stack. :) > If this patch ca