[PATCH 4/4] mmc: omap_hsmmc: Cleanup use of cpu_is_* for debounce_clock

2012-04-08 Thread Venkatraman S
From: Rajendra Nayak There really does not seem to be a need to use cpu_is_* check for getting the debounce clock as clkdev is perfectly capable of handling situations when certain clocks are only available on select platforms. Also get rid of the 'got_dbclk' flag and instead use the dbclk clock

[PATCH 3/4] mmc: omap_hsmmc: use spinlock IRQ safe variant

2012-04-08 Thread Venkatraman S
Prevent possible races between HSMMC/DMA IRQs and next requests. Signed-off-by: Venkatraman S --- drivers/mmc/host/omap_hsmmc.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 9e701f3..

[PATCH RESEND 2/4] mmc: omap_hsmmc: add DDR support to omap_hsmmc

2012-04-08 Thread Venkatraman S
From: Balaji T K Add Dual data rate support for omap_hsmmc Signed-off-by: Balaji T K Signed-off-by: Venkatraman S --- drivers/mmc/host/omap_hsmmc.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 1fcacb6..9e701f3

[PATCH RESEND 1/4] mmc: omap_hsmmc: Enable Auto CMD12

2012-04-08 Thread Venkatraman S
From: Balaji T K Enable Auto-CMD12 for multi block read/write on HSMMC Tested on OMAP4430, OMAP3430 and OMAP2430 SDP Signed-off-by: Balaji T K Signed-off-by: Venkatraman S --- drivers/mmc/host/omap_hsmmc.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/

[PATCH 0/4] mmc: omap_hsmmc: Additional cleanups / features

2012-04-08 Thread Venkatraman S
Hi Chris, As discussed previously [1], I've rebased the previous 2 patches that you decided to queue for 3.5, plus 2 additional cleanups. Best regards, Venkat. [1] http://marc.info/?l=linux-mmc&m=16030703924&w=2 The following changes since commit 3bdc9ba892d6a294d16e9e6e0c4041926aa3d58c:

Re: [GIT PULL] MMC fixes for 3.4-rc2

2012-04-08 Thread Chris Ball
Hi, On Mon, Apr 09 2012, Hebbar, Gururaja wrote: > Hi, > > Is the pull already completed? Yes, and -rc2 has already been released. > If not can you add the recent mmc suspend/resume fix patch . > > http://www.spinics.net/lists/linux-pm/msg27090.html > > This is actually a fix (for bug) in mmc/sd

RE: [GIT PULL] MMC fixes for 3.4-rc2

2012-04-08 Thread Hebbar, Gururaja
Hi, Is the pull already completed? If not can you add the recent mmc suspend/resume fix patch . http://www.spinics.net/lists/linux-pm/msg27090.html This is actually a fix (for bug) in mmc/sd suspend/resume path. This fixed a hard-to-find MMC suspend/resume while cp in progress race condition r

RE: [PATCH V2]mmc: remove MMC bus legacy suspend/resume method

2012-04-08 Thread Hebbar, Gururaja
On Thu, Apr 05, 2012 at 13:21:18, Chuanxiao Dong wrote: > MMC bus is using legacy suspend/resume method, which is not compatible if > runtime pm callbacks are used. In this scenario, MMC bus suspend/resume > callbacks cannot be called when system entering S3. So change to use the new > defined dev_

Re: [PATCH 0/2] mmc: fixes for eMMC v4.5 discard / sanitize operations

2012-04-08 Thread Jaehoon Chung
Hi Adrian. This patch is make sense. It looks fine to me. I tested with eMMC4.5 and triggered the secdiscard/discard with ioctl. (But i didn't have the iNAND.) Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 04/05/2012 08:45 PM, Adrian Hunter wrote: > Hi > > Here are patches in respo

Re: swap on eMMC and other flash

2012-04-08 Thread Minchan Kim
2012-04-08 오후 10:50, Alex Lemberg 쓴 글: > Hi Arnd, > > Regarding time to issue discard/TRIM commands: > It would be advised to issue the discard command immediately after > deleting/freeing a SWAP cluster (i.e. as soon as it becomes available). Is it still good with page size, not cluster size?

Re: swap on eMMC and other flash

2012-04-08 Thread Minchan Kim
2012-04-07 오전 1:16, Arnd Bergmann 쓴 글: > On Friday 06 April 2012, Minchan Kim wrote: >> On Sat, Mar 31, 2012 at 2:44 AM, Arnd Bergmann wrote: >> >>> We've had a discussion in the Linaro storage team (Saugata, Venkat and me, >>> with Luca joining in on the discussion) about swapping to flash based

Re: [PATCH 07/11] gpio: tegra: Hide tegra_gpio_enable/disable()

2012-04-08 Thread Chris Ball
Hi, On Fri, Mar 30 2012, Stephen Warren wrote: > From: Stephen Warren > > Recent pinctrl discussions concluded that gpiolib APIs should in fact do > whatever is required to mux a GPIO onto pins, by calling pinctrl APIs if > required. This change implements this for the Tegra GPIO driver, and remo

RE: swap on eMMC and other flash

2012-04-08 Thread Alex Lemberg
Hi Arnd, Regarding time to issue discard/TRIM commands: It would be advised to issue the discard command immediately after deleting/freeing a SWAP cluster (i.e. as soon as it becomes available). Regarding SWAP page size: Working with as large as SWAP pages as possible would be recommended (pref

Re: [PATCH 06/10 v3] ARM: mach-shmobile: convert ag5evm to use the generic MMC GPIO hotplug helper

2012-04-08 Thread Guennadi Liakhovetski
Now that MMC patches from this series are in the mainline, also architecture patches can and should be applied. These are patches 5 and 6 from this series: http://article.gmane.org/gmane.linux.kernel.mmc/12748 http://article.gmane.org/gmane.linux.ports.sh.devel/13535 Would be good to have them