RE: [PATCH v2] mmc: core: Add default timeout value for CMD6.

2011-09-29 Thread Seungwon Jeon
Girish K S wrote: Hi Jeon, I tried to apply your patch to the latest Chris-mmc/mmc-next branch. but the patch fails. can you please check err message. error: patch failed: include/linux/mmc/card.h:52 error: include/linux/mmc/card.h: patch does not apply error: patch failed:

Re: [PATCH v2] mmc : general purpose partition support.

2011-09-29 Thread Linus Walleij
On Wed, Sep 28, 2011 at 3:50 PM, NamJae Jeon linkinj...@gmail.com wrote: 2011/9/28 Linus Walleij linus.wall...@linaro.org: On Sat, Sep 24, 2011 at 7:07 AM, Namjae Jeon linkinj...@gmail.com wrote:          179 64  1024 mmcblk0boot1          179 32  1024 mmcblk0boot0 Does this mean that each

Re: [PATCH V2] mmc: core: HS200 mode support for eMMC 4.5

2011-09-29 Thread Girish K S
Dear all, Since the member host-ext_caps is a duplicate of host-caps2 which is already accepted in mainline by maintainer. I will resend my patch by using the existing caps2 member of struct mmc_host . regards Girish K S On 28 September 2011 10:30, Girish K S girish.shivananja...@linaro.org

Re: slow eMMC write speed

2011-09-29 Thread Linus Walleij
On Wed, Sep 28, 2011 at 10:34 PM, Praveen G K praveen...@gmail.com wrote: The problem is I am seeing write speeds of about 5MBps on a Sandisk eMMC product and I can clearly see the time lost when measured between sending a command and receiving a data irq.  I am not sure what kind of an issue

Re: slow eMMC write speed

2011-09-29 Thread Linus Walleij
On Wed, Sep 28, 2011 at 11:34 PM, J Freyensee james_p_freyen...@linux.intel.com wrote: Now in the 3.0 kernel I know mmc_wait_for_req() has changed and the goal was to try and make that function a bit more non-blocking, What has been done by Per Förlin is to add pre_req/post_req hooks for the

Re: slow eMMC write speed

2011-09-29 Thread Linus Walleij
On Thu, Sep 29, 2011 at 9:05 AM, Linus Walleij linus.wall...@linaro.org wrote: Have you tried to make a deeper analysis of the card characteristics using Arnd Bergmanns flashbench tool? http://git.linaro.org/gitweb?p=people/arnd/flashbench.git;a=summary There you will see for sure if there

Re: [PATCH] leds-class: change back LEDS_CLASS to tristate instead of bool

2011-09-29 Thread Russell King - ARM Linux
On Thu, Sep 29, 2011 at 10:00:58AM +0800, Bryan Wu wrote: Hiya, Any comments and need I do anything to improve this patch? No idea, I don't remember the original errors which this stuff spat out and how they were caused. The only thing I care about is that the conversion of the existing ARM

Re: slow eMMC write speed

2011-09-29 Thread Per Förlin
On 09/29/2011 09:24 AM, Linus Walleij wrote: On Wed, Sep 28, 2011 at 11:34 PM, J Freyensee james_p_freyen...@linux.intel.com wrote: Now in the 3.0 kernel I know mmc_wait_for_req() has changed and the goal was to try and make that function a bit more non-blocking, What has been done by Per

Re: [PATCH v2] mmc : general purpose partition support.

2011-09-29 Thread NamJae Jeon
2011/9/29 Linus Walleij linus.wall...@linaro.org: On Wed, Sep 28, 2011 at 3:50 PM, NamJae Jeon linkinj...@gmail.com wrote: 2011/9/28 Linus Walleij linus.wall...@linaro.org: On Sat, Sep 24, 2011 at 7:07 AM, Namjae Jeon linkinj...@gmail.com wrote:          179 64  1024 mmcblk0boot1          

Re: [PATCH 1/1] mmc: Support of PCI mode for the dw_mmc driver This Patch adds the support for the scenario where the Synopsys Designware IP is present on the PCI bus.The patch adds the minimal modifi

2011-09-29 Thread Will Newton
On Thu, Sep 29, 2011 at 5:49 AM, Shashidhar Hiremath shashidh...@vayavyalabs.com wrote: +       .detect_delay_ms                = 200, +       .fifo_depth                     = 32, +}; +#endif +  static struct workqueue_struct *dw_mci_card_workqueue;  #if defined(CONFIG_DEBUG_FS) @@

[PATCH] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-09-29 Thread Barry Song
From: Barry Song baohua.s...@csr.com Some devices like mmc are async detected very slow. For example, drivers/mmc/host/sdhci.c launchs a 200ms delayed work to detect mmc partitions then add disk. we do have wait_for_device_probe and scsi_complete_async_scans before calling swsusp_check, but it

Re: [PATCH 1/1] mmc: Support of PCI mode for the dw_mmc driver This Patch adds the support for the scenario where the Synopsys Designware IP is present on the PCI bus.The patch adds the minimal modifi

2011-09-29 Thread Shashidhar Hiremath
Hi Will,James, When I looked at few examples of the pci platform support in kernel,I could find that they have used separate files for pci and platform.I feel I may not split the driver into 3 files since its not as complex as sdhci driver.So can I merge the ifdefs and have separate functions

[PATCH V3] mmc: core: HS200 mode support for eMMC 4.5

2011-09-29 Thread Girish K S
This patch adds the support of the HS200 bus speed for eMMC 4.5 devices. The eMMC 4.5 devices have support for 200MHz bus speed. The mmc core and host modules have been touched to add support for this module. It is necessary to know the card type in the sdhci.c file to add support for eMMC tuning

[PATCH V7] mmc: core: Add Power Off Notify Feature eMMC 4.5

2011-09-29 Thread Girish K S
This patch adds the support for power off notify feature available in eMMC 4.5 devices. If the the host has support for this feature, then the mmc core will notify it to the device by setting the POWER_OFF_NOTIFICATION byte in the extended csd register with a value 1(POWER_ON). For

Re: [PATCH] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-09-29 Thread Valdis . Kletnieks
On Thu, 29 Sep 2011 02:29:08 PDT, Barry Song said: This patch adds resumewait kernel param just like rootwait so that we have enough time to wait mmc ready. The differene is here we wait for resume partition but rootwait waits for rootfs partition. OK, seems a reasonable idea...

Re: [PATCH] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-09-29 Thread Barry Song
hi Valdis, 2011/9/29 valdis.kletni...@vt.edu: On Thu, 29 Sep 2011 02:29:08 PDT, Barry Song said: This patch adds resumewait kernel param just like rootwait so that we have enough time to wait mmc ready. The differene is here we wait for resume partition but rootwait waits for rootfs

Re: [PATCH V2 11/16] mmc: omap_hsmmc: ensure pbias configuration is always done

2011-09-29 Thread T Krishnamoorthy, Balaji
On Fri, May 6, 2011 at 2:44 PM, Adrian Hunter adrian.hun...@nokia.com wrote: Go through the driver's set_power() functions rather than calling regulator_enable/disable() directly because otherwise pbias configuration for MMC1 is not done. Hi Chris, Are you OK to queue this patch as bug fix.

[PATCH 2/2] arm: omap4: hsmmc: configure SDMMC1_DR0 properly

2011-09-29 Thread Balaji T K
Fix the typo, instead it should be SDMMC1 USBC1 is not related to MMC1 I/Os Signed-off-by: Balaji T K balaj...@ti.com --- arch/arm/mach-omap2/hsmmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index

[PATCH 0/2] arm: omap4: hsmmc: pbias fixes

2011-09-29 Thread Balaji T K
MMC1 pbias and speed control fix for SDMMC1 extended I/O cell Balaji T K (2): arm: omap4: hsmmc: Fix Pbias configuration on regulator OFF arm: omap4: hsmmc: configure SDMMC1_DR0 properly arch/arm/mach-omap2/hsmmc.c | 16 +++- 1 files changed, 3 insertions(+), 13 deletions(-)

[PATCH 1/2] arm: omap4: hsmmc: Fix Pbias configuration on regulator OFF

2011-09-29 Thread Balaji T K
MMC1 data line IO's are powered down in before set regulator function. IO's should not be powered ON when regulator is OFF. Keep the IO's in power pown mode after regulator OFF. Delete incorrect comments which are not applicable for OMAP4. Signed-off-by: Balaji T K balaj...@ti.com Signed-off-by:

Re: [PATCH 0/2] arm: omap4: hsmmc: pbias fixes

2011-09-29 Thread T Krishnamoorthy, Balaji
From: Balaji T K balaj...@ti.com Will resend this series as my email id is garbled. MMC1 pbias and speed control fix for SDMMC1 extended I/O cell Balaji T K (2):  arm: omap4: hsmmc: Fix Pbias configuration on regulator OFF  arm: omap4: hsmmc: configure SDMMC1_DR0 properly  

[PATCH v2] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-09-29 Thread Barry Song
From: Barry Song baohua.s...@csr.com Some devices like mmc are async detected very slow. For example, drivers/mmc/host/sdhci.c launchs a 200ms delayed work to detect mmc partitions then add disk. we do have wait_for_device_probe and scsi_complete_async_scans before calling swsusp_check, but it

Re: [PATCH] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-09-29 Thread Luca Tettamanti
On Thu, Sep 29, 2011 at 11:29 AM, Barry Song barry.s...@csr.com wrote: From: Barry Song baohua.s...@csr.com Some devices like mmc are async detected very slow. For example, drivers/mmc/host/sdhci.c launchs a 200ms delayed work to detect mmc partitions then add disk. we do have

Re: [PATCH] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-09-29 Thread Luca Tettamanti
On Thu, Sep 29, 2011 at 5:47 PM, Luca Tettamanti kronos...@gmail.com wrote: On Thu, Sep 29, 2011 at 11:29 AM, Barry Song barry.s...@csr.com wrote: From: Barry Song baohua.s...@csr.com Some devices like mmc are async detected very slow. For example, drivers/mmc/host/sdhci.c launchs a 200ms

Re: [PATCH 1/2] arm: omap4: hsmmc: Fix Pbias configuration on regulator OFF

2011-09-29 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [110929 07:11]: MMC1 data line IO's are powered down in before set regulator function. IO's should not be powered ON when regulator is OFF. Keep the IO's in power pown mode after regulator OFF. Delete incorrect comments which are not applicable for OMAP4. Care to

Re: [PATCH v3] mmc : general purpose partition support.

2011-09-29 Thread Andrei Warkentin
Namjae, - Original Message - From: Namjae Jeon linkinj...@gmail.com To: c...@laptop.org, linux-mmc@vger.kernel.org Cc: linux-ker...@vger.kernel.org, awarken...@vmware.com, adrian hunter adrian.hun...@intel.com, linus walleij linus.wall...@linaro.org, james p freyensee

[PATCH v2 1/1] mmc: Support of PCI mode for the dw_mmc driver

2011-09-29 Thread Shashidhar Hiremath
Support of PCI mode for the dw_mmc driver This Patch adds the support for the scenario where the Synopsys Designware IP is present on the PCI bus.The patch adds the minimal modifications necessary for the driver to work on PCI platform. The Driver has also been tested for on the PCI platform

Re: slow eMMC write speed

2011-09-29 Thread J Freyensee
On 09/29/2011 01:17 AM, Per Förlin wrote: On 09/29/2011 09:24 AM, Linus Walleij wrote: On Wed, Sep 28, 2011 at 11:34 PM, J Freyensee james_p_freyen...@linux.intel.com wrote: Now in the 3.0 kernel I know mmc_wait_for_req() has changed and the goal was to try and make that function a bit more

Re: [PATCH] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-09-29 Thread Barry Song
2011/9/29 Luca Tettamanti kronos...@gmail.com: On Thu, Sep 29, 2011 at 11:29 AM, Barry Song barry.s...@csr.com wrote: From: Barry Song baohua.s...@csr.com Some devices like mmc are async detected very slow. For example, drivers/mmc/host/sdhci.c launchs a 200ms delayed work to detect mmc

Re: [PATCH] PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file

2011-09-29 Thread Barry Song
2011/9/29 Luca Tettamanti kronos...@gmail.com: On Thu, Sep 29, 2011 at 5:47 PM, Luca Tettamanti kronos...@gmail.com wrote: On Thu, Sep 29, 2011 at 11:29 AM, Barry Song barry.s...@csr.com wrote: From: Barry Song baohua.s...@csr.com Some devices like mmc are async detected very slow. For

Re: [PATCH v2 1/1] mmc: Support of PCI mode for the dw_mmc driver

2011-09-29 Thread Jaehoon Chung
Hi Shashidhar. On 09/30/2011 02:40 AM, Shashidhar Hiremath wrote: Support of PCI mode for the dw_mmc driver This Patch adds the support for the scenario where the Synopsys Designware IP is present on the PCI bus.The patch adds the minimal modifications necessary for the driver to work on

Re: [PATCH v3] mmc : general purpose partition support.

2011-09-29 Thread Adrian Hunter
Perhaps rebase against Chris' mmc-next branch -- To unsubscribe from this list: send the line unsubscribe linux-mmc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html