RE: [PATCH v3 2/2] mmc: core: Add Poweroff Notify handling eMMC 4.5

2011-09-08 Thread Seungwon Jeon
Hi Girish, Could you check my feedbacks about previous version? There is something misunderstood. I added comment below. Best regards, Seungwon Jeon. Girish K S wrote: This patch adds the power off notification handling during suspend and system poweroff. For suspend mode short timeout is

[PATCH] mmc: core: Fix the incorrect calculation for erase unit size.

2011-09-08 Thread Seungwon Jeon
Erase unit size of high capacity is multiple of 512KiB not 1024KiB. Signed-off-by: Seungwon Jeon tgih@samsung.com --- drivers/mmc/core/mmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index b148bb1..7991ecf 100644

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

2011-09-08 Thread Seungwon Jeon
EXT_CSD[248] includes the default maximum timeout for CMD6. This field is added at eMMC4.5 Spec. And it can be used for default timeout except for some operations which don't define the timeout(i.e. background operation, sanitize, flush cache) in eMMC4.5 Spec. Signed-off-by: Seungwon Jeon

Re: [PATCH] mmc: core: Fix the incorrect calculation for erase unit size.

2011-09-08 Thread Kyungmin Park
Acked-by: Kyungmin Park kyungmin.p...@samsung.com On Thu, Sep 8, 2011 at 2:59 PM, Seungwon Jeon tgih@samsung.com wrote: Erase unit size of high capacity is multiple of 512KiB not 1024KiB. Signed-off-by: Seungwon Jeon tgih@samsung.com ---  drivers/mmc/core/mmc.c |    2 +-  1 files

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

2011-09-08 Thread Seungwon Jeon
EXT_CSD[248] includes the default maximum timeout for CMD6. This field is added at eMMC4.5 Spec. And it can be used for default timeout except for some operations which don't define the timeout(i.e. background operation, sanitize, flush cache) in eMMC4.5 Spec. Signed-off-by: Seungwon Jeon

[PATCH] mmc: core: Add cache control for eMMC4.5 device

2011-09-08 Thread Seungwon Jeon
This patch adds cache feature of eMMC4.5 Spec. If device supports cache capability, host can utilize some specific operations. Signed-off-by: Seungwon Jeon tgih@samsung.com --- This patch is base on [PATCH v3] mmc: core: Add default timeout value for CMD6 drivers/mmc/card/block.c | 14

Re: [PATCH v3 2/2] mmc: core: Add Poweroff Notify handling eMMC 4.5

2011-09-08 Thread Girish K S
hi Jeon, will update and release tomorrow. regards Girish K S On 8 September 2011 11:44, Seungwon Jeon tgih@samsung.com wrote: Hi Girish, Could you check my feedbacks about previous version? There is something misunderstood. I added comment below. Best regards, Seungwon Jeon.

Re: [PATCH] mmc: core: Fix the incorrect calculation for erase unit size.

2011-09-08 Thread Chris Ball
Hi, On Thu, Sep 08 2011, Seungwon Jeon wrote: Erase unit size of high capacity is multiple of 512KiB not 1024KiB. Could we have some more info, please? What are the visible symptoms of the erase unit size being incorrect, how did you realize this was a problem, should this patch be applied to

Re: [PATCH] mmc: core: Fix the incorrect calculation for erase unit size.

2011-09-08 Thread J Freyensee
On 09/07/2011 10:59 PM, Seungwon Jeon wrote: Erase unit size of high capacity is multiple of 512KiB not 1024KiB. I'm just wondering, what are these patches based off of? I have not been able to connect to anything hosted by kernel.org since I came back from vacation due to the security

Re: [RFC/RFT] MMC: CORE: eMMC in Sleep mode before suspend

2011-09-08 Thread T Krishnamoorthy, Balaji
On Fri, Jul 22, 2011 at 1:42 AM, Adrian Hunter adrian.hun...@intel.com wrote: On 19/07/2011 7:48 p.m., Chris Ball wrote: Hi, On Tue, Jul 19 2011, S, Venkatraman wrote: On Wed, Jul 13, 2011 at 8:06 PM, Balaji T Kbalaj...@ti.com  wrote: Put MMC to sleep if it supports SLEEP/AWAKE (CMD5) in

[PATCH v2] mmc: core: eMMC in Sleep mode before suspend

2011-09-08 Thread Balaji T K
Put MMC to sleep if it supports SLEEP/AWAKE (CMD5) in the mmc suspend so that Vcc (NAND core) can be cut to minimize power consumption. eMMC put into SLEEP can respond to CMD0 or H/W reset or CMD5. Current implemention on resume from suspend relies on CMD0 in mmc_init_card to get out of SLEEP

[GIT PULL] MMC fixes for 3.1-rc6

2011-09-08 Thread Chris Ball
Hi Linus, Please pull from: git://dev.laptop.org/users/cjb/mmc for-linus to receive small regression fixes for MMC. These have been tested in linux-next, and there are no merge conflicts. Thanks. The following changes since commit fcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c: Linux 3.1-rc3

[PATCH v4 0/2] mmc: core: Add Poweroff Notify handling eMMC 4.5

2011-09-08 Thread Girish K S
This version adds the changes suggested by Jeon Girish K S (2): mmc: core: Add power off notify feature(eMMC 4.5) mmc: core: Add Poweroff Notify handling eMMC 4.5 drivers/mmc/core/core.c | 33 + drivers/mmc/core/mmc.c | 22 --

[PATCH v4 1/2] mmc: core: Add power off notify feature(eMMC 4.5)

2011-09-08 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).

[PATCH v4 2/2] mmc: core: Add Poweroff Notify handling eMMC 4.5

2011-09-08 Thread Girish K S
This patch adds the power off notification handling during suspend and system poweroff. For suspend mode short timeout is used, whereas for the normal poweroff long timeout is used. Signed-off-by: Girish K S girish.shivananja...@linaro.org --- drivers/mmc/core/core.c | 33