Re: [PATCH] mmc: boot partition ro lock support

2011-10-21 Thread Andrei Warkentin
Hi Ulf, Johan, - Original Message - From: Ulf Hansson ulf.hans...@stericsson.com To: linux-mmc@vger.kernel.org, Chris Ball c...@laptop.org Cc: Per Forlin per.for...@stericsson.com, Ulf Hansson ulf.hans...@stericsson.com, Lee Jones lee.jo...@linaro.org, Johan Rudholm

Re: A question on IOCTL interface for MMC

2011-10-20 Thread Andrei Warkentin
Hi, - Original Message - From: Shashidhar Hiremath shashidh...@vayavyalabs.com To: Chris Ball c...@laptop.org, J Freyensee james_p_freyen...@linux.intel.com, John Calixto john.cali...@modsystems.com, linux-mmc@vger.kernel.org Sent: Thursday, October 20, 2011 1:09:00 AM Subject: A

Re: mmc core broken dependency on CONFIG_BLOCK (Was: linux-next: Tree for Oct 11 (mmc))

2011-10-11 Thread Andrei Warkentin
Hi Randy, - Original Message - From: Randy Dunlap rdun...@xenotime.net To: Stephen Rothwell s...@canb.auug.org.au Cc: linux-n...@vger.kernel.org, LKML linux-ker...@vger.kernel.org, linux-mmc@vger.kernel.org, Chris Ball c...@laptop.org Sent: Tuesday, October 11, 2011 2:49:39 PM

Re: mmc core broken dependency on CONFIG_BLOCK (Was: linux-next: Tree for Oct 11 (mmc))

2011-10-11 Thread Andrei Warkentin
- Original Message - From: NamJae Jeon linkinj...@gmail.com To: Randy Dunlap rdun...@xenotime.net, Andrei Warkentin awarken...@vmware.com Cc: linux-n...@vger.kernel.org, LKML linux-ker...@vger.kernel.org, linux-mmc@vger.kernel.org, Chris Ball c...@laptop.org, Stephen Rothwell s

Re: mmc core broken dependency on CONFIG_BLOCK (Was: linux-next: Tree for Oct 11 (mmc))

2011-10-11 Thread Andrei Warkentin
Hi, - Original Message - From: NamJae Jeon linkinj...@gmail.com To: Andrei Warkentin awarken...@vmware.com Cc: linux-n...@vger.kernel.org, LKML linux-ker...@vger.kernel.org, linux-mmc@vger.kernel.org, Chris Ball c...@laptop.org, Stephen Rothwell s...@canb.auug.org.au, Randy Dunlap

Re: [PATCH 2/5] drivercore: Add driver probe deferral mechanism

2011-10-10 Thread Andrei Warkentin
Hi, - Original Message - From: Greg KH g...@kroah.com To: Josh Triplett j...@joshtriplett.org Cc: G, Manjunath Kondaiah manj...@ti.com, linux-arm-ker...@lists.infradead.org, Grant Likely grant.lik...@secretlab.ca, linux-o...@vger.kernel.org, linux-mmc@vger.kernel.org,

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

2011-10-06 Thread Andrei Warkentin
: [PATCH v12] mmc : general purpose partition support. It allows gerneral purpose partitions in MMC Device. And I try to simpliy make mmc_blk_alloc_parts using mmc_part structure suggested by Andrei Warkentin. After patching, we can see general purpose partitions like this. cat /proc

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

2011-10-05 Thread Andrei Warkentin
Subject: [PATCH v11] mmc : general purpose partition support. It allows gerneral purpose partitions in MMC Device. And I try to simpliy make mmc_blk_alloc_parts using mmc_part structure suggested by Andrei Warkentin. After patching, we can see general purpose partitions like this. cat /proc

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

2011-10-04 Thread Andrei Warkentin
Subject: [PATCH v10] mmc : general purpose partition support. It allows gerneral purpose partitions in MMC Device. And I try to simpliy make mmc_blk_alloc_parts using mmc_part structure suggested by Andrei Warkentin. After patching, we can see general purpose partitions like this. cat /proc

Re: slow eMMC write speed

2011-10-03 Thread Andrei Warkentin
Hi James, - Original Message - From: J Freyensee james_p_freyen...@linux.intel.com Yeah, I know I'd be doing myself a huge favor by working off of mmc-next (or close to it), but product-wise, my department doesn't care for sustaining current platforms...yet (still trying to

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

2011-09-29 Thread Andrei Warkentin
AM Subject: [PATCH v3] mmc : general purpose partition support. It allows gerneral purpose partitions in MMC Device. And I try to simpliy make mmc_blk_alloc_parts using mmc_part structure suggested by Andrei Warkentin. After patching, we can see general purpose partitions like this. cat

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

2011-09-28 Thread Andrei Warkentin
to simpliy make mmc_blk_alloc_parts using mmc_part structure suggested by Andrei Warkentin. After patching, we can see general purpose partitions like this. cat /proc/partitions 179 0 847872 mmcblk0 179 192 4096 mmcblk0gp4 179 160 4096 mmcblk0gp3 179 128 4096

Re: [PATCH] mmc: dw_mmc: Support predefined multiple block transfers.

2011-09-26 Thread Andrei Warkentin
ok, given what I've previously done for SDHCI as far as CMD23/Auto-CMD23 enhancement. Just curious, what eMMC cards did you test this on, and what improvement did you see? Acked-by: Andrei Warkentin andrey.warken...@gmail.com Thanks, A -- To unsubscribe from this list: send the line unsubscribe

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

2011-09-22 Thread Andrei Warkentin
Hi Namjae, I scanned over your changes to enable GP partitions, and while I did not yet test your changes, they do appear to be ok. Please CC me on the next version of your patch so I can give it a spin and Ack on it. I do suggest at least thinking about ways to improve on this. Back when I

[PATCH] MMC: ext_csd.raw_* used in comparison but never set

2011-09-22 Thread Andrei Warkentin
f39b2dd9d065151a04f5996656d1f27a7eb32d45 added code to only compare read-only ext_csd fields in bus width testing code, yet it's comparing some fields that are never set. The affected fields are ext_csd.raw_erased_mem_count and ext_csd.raw_partition_support. Signed-off-by: Andrei Warkentin

Re: [PATCH] mmc : export hw reset function info to user

2011-09-19 Thread Andrei Warkentin
Hi Namjae, others, - Original Message - From: Namjae Jeon linkinj...@gmail.com To: c...@laptop.org, linux-mmc@vger.kernel.org Cc: linux-ker...@vger.kernel.org, Namjae Jeon linkinj...@gmail.com Sent: Sunday, September 18, 2011 11:20:25 AM Subject: [PATCH] mmc : export hw reset

Re: irq flood with mmc boot partitions on s3c2416 with 3.0rc1

2011-06-20 Thread Andrei Warkentin
Heiko, On Sun, Jun 19, 2011 at 9:23 AM, Heiko Stübner he...@sntech.de wrote: Am Samstag 18 Juni 2011, 22:56:11 schrieb Daniel Mack: The log you sent out seems a bit short (it's covers 1s of boot time - usb0: no IPv6 routers present is the last line ). Can you send - 1) A full log with errors

Re: irq flood with mmc boot partitions on s3c2416 with 3.0rc1

2011-06-16 Thread Andrei Warkentin
Hi, On Thu, Jun 16, 2011 at 3:14 PM, Heiko Stübner he...@sntech.de wrote: Am Dienstag 14 Juni 2011, 22:32:41 schrieb Andrei Warkentin: Hi Heiko, On Tue, Jun 14, 2011 at 9:10 AM, Heiko Stübner he...@sntech.de wrote: nope, no updates yet. The flood also only starts when udev wants to create

Re: irq flood with mmc boot partitions on s3c2416 with 3.0rc1

2011-06-14 Thread Andrei Warkentin
Hi Heiko, On Tue, Jun 14, 2011 at 9:10 AM, Heiko Stübner he...@sntech.de wrote: Hi Andrei, Am Dienstag 14 Juni 2011 schrieb Andrei Warkentin: I recently came back from vacation (which is why I didn't pitch in before). Has there been any further update on this? I want to exclude my EMMC

Re: irq flood with mmc boot partitions on s3c2416 with 3.0rc1

2011-06-13 Thread Andrei Warkentin
Hi Everybody, On Fri, Jun 3, 2011 at 2:56 AM, Heiko Stübner he...@sntech.de wrote: Hi, Am Freitag 03 Juni 2011, 01:48:05 schrieb Kyungmin Park: As I don't have the s3c2416 user manaul, I'm not sure it's support AUTO CMD12 or not. but at least it's support at s3c6410 and later. According

[PATCH] MMC: SDHCI Auto-CMD23 fixes.

2011-05-25 Thread Andrei Warkentin
-+--+--- 1|0 | 1 -+--+--- 1|1 | 1 Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/host/sdhci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc

Re: [PATCH] MMC: SDHCI Auto-CMD23 fixes.

2011-05-25 Thread Andrei Warkentin
Chris, On Wed, May 25, 2011 at 2:13 AM, Andrei Warkentin andr...@motorola.com wrote: Fixes bugs in Auto-CMD23 feature enable decision. Auto-CMD23 shoud be enabled if host is = v3, and SDMA is not in use. USE_ADMA | USE_SDMA | Auto-CMD23 -+--+---    0    |    0

Re: [PATCH] MMC: SDHCI Auto-CMD23 fixes.

2011-05-25 Thread Andrei Warkentin
On Wed, May 25, 2011 at 3:13 PM, Chris Ball c...@laptop.org wrote: Hi, On Wed, May 25 2011, Andrei Warkentin wrote: Fixes bugs in Auto-CMD23 feature enable decision. Auto-CMD23 shoud be enabled if host is = v3, and SDMA is not in use. USE_ADMA | USE_SDMA | Auto-CMD23

Re: [[v4] 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-23 Thread Andrei Warkentin
On Mon, May 23, 2011 at 7:40 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi A.. I tested your patch..(using CMD23) my environment is the below. eMMC card : Sandisk SEM8G (eMMC 4.3+) buswidth : 4bit (SDR) AP : C110 benchmark : IOzone I want to know how do you think about this result?

CMD23 plumbing patchset.

2011-05-23 Thread Andrei Warkentin
This is the 6th version of the patchset. Made sure that Auto-CMD(12|23) is called *_AUTO_CMD* instead of *_ACMD*. Also removed an unnecessary check for v3 spec, since one is already in place after Arindam's patches. ToC: [v6 1/5] MMC: Add/remove quirks conditional support. [v6 2/5] MMC: Use

[v6 1/5] MMC: Add/remove quirks conditional support.

2011-05-23 Thread Andrei Warkentin
Conditional add/remove quirks for MMC and SD. Cc: c...@laptop.org Cc: malc...@google.com Signed-off-by: Andrei Warkentin andr...@motorola.com --- include/linux/mmc/card.h | 40 1 files changed, 36 insertions(+), 4 deletions(-) diff --git a/include

Re: [[v4] 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-23 Thread Andrei Warkentin
On Mon, May 23, 2011 at 2:25 PM, Andrei Warkentin andr...@motorola.com wrote: On Mon, May 23, 2011 at 7:40 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi A.. I tested your patch..(using CMD23) my environment is the below. eMMC card : Sandisk SEM8G (eMMC 4.3+) buswidth : 4bit (SDR) AP

[v6 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-23 Thread Andrei Warkentin
CMD23-prefixed instead of open-ended multiblock transfers have a performance advantage on some MMC cards. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Cc: malc...@google.com Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c | 108

[v6 3/5] MMC: Implement MMC_CAP_CMD23 for SDHCI.

2011-05-23 Thread Andrei Warkentin
Implements support for multiblock transfers bounded by SET_BLOCK_COUNT (CMD23). Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Cc: malc...@google.com Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/host/sdhci.c | 66

[v6 4/5] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-05-23 Thread Andrei Warkentin
SD cards operating at UHS104 or better support SET_BLOCK_COUNT. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Cc: malc...@google.com Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c |9 ++--- drivers/mmc/core/sd.c|2 ++ include

[v6 5/5] MMC: SDHCI AutoCMD23 support.

2011-05-23 Thread Andrei Warkentin
Enables Auto-CMD23 support where available (SDHCI 3.0 controllers) Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Cc: subha...@codeaurora.org Cc: malc...@google.com Tested-by: Arindam Nath arindam.n...@amd.com Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc

Re: [[v4] 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-23 Thread Andrei Warkentin
On Mon, May 23, 2011 at 7:40 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi A.. I tested your patch..(using CMD23) my environment is the below. eMMC card : Sandisk SEM8G (eMMC 4.3+) buswidth : 4bit (SDR) AP : C110 benchmark : IOzone Knowing what controller you are on is helpful too.

Re: [[v4] 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-23 Thread Andrei Warkentin
On Mon, May 23, 2011 at 2:34 PM, Andrei Warkentin andr...@motorola.com wrote: On Mon, May 23, 2011 at 7:40 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi A.. I tested your patch..(using CMD23) my environment is the below. eMMC card : Sandisk SEM8G (eMMC 4.3+) buswidth : 4bit (SDR) AP

Re: [[v4] 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-20 Thread Andrei Warkentin
On Fri, May 20, 2011 at 1:49 AM, Andrei Warkentin andr...@motorola.com wrote: On Thu, May 19, 2011 at 11:38 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Andrei, Andrei Warkentin wrote: On Wed, May 18, 2011 at 9:37 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Andrei Andrei

Re: [v5 5/5] MMC: SDHCI AutoCMD23 support.

2011-05-20 Thread Andrei Warkentin
Hi Arindam, On Fri, May 20, 2011 at 5:46 AM, Nath, Arindam arindam.n...@amd.com wrote: Hi Andrei, [...] diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 7e28eec..713caf0 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -25,6 +25,7 @@   */  

Re: [v5 4/5] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-05-20 Thread Andrei Warkentin
On Fri, May 20, 2011 at 5:38 AM, Nath, Arindam arindam.n...@amd.com wrote: Hi Andrei, [...] diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index 596d0b9..efff41d 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -203,6 +203,13 @@ static int

Re: [v5 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-20 Thread Andrei Warkentin
On Fri, May 20, 2011 at 5:29 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Andrei. I have some question.. In mmc_blk_issue_rw_rq() of block.c, there is the below code. static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *req) {        struct mmc_blk_data *md = mq-data;

Re: [[v4] 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-05-19 Thread Andrei Warkentin
On Wed, May 18, 2011 at 9:37 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Andrei Andrei Warkentin wrote: CMD23-prefixed instead of open-ended multiblock transfers have a performance advantage on some MMC cards. you mentioned about some MMC cards. Conversely, that means the some card

[v5 1/5] MMC: Add/remove quirks conditional support.

2011-05-19 Thread Andrei Warkentin
Conditional add/remove quirks for MMC and SD. Cc: c...@laptop.org Cc: malc...@google.com Signed-off-by: Andrei Warkentin andr...@motorola.com --- include/linux/mmc/card.h | 40 1 files changed, 36 insertions(+), 4 deletions(-) diff --git a/include

CMD23 plumbing patchset

2011-05-19 Thread Andrei Warkentin
This is the fifth version of the CMD23 plumbing and host driver support. Changes: - rebased on top of latest mmc-next - have a tested-by by Arindam ToC: [v5 1/5] MMC: Add/remove quirks conditional support. [v5 2/5] MMC: Use CMD23 for multiblock transfers when we can. [v5 3/5] MMC: Implement

[v5 3/5] MMC: Implement MMC_CAP_CMD23 for SDHCI.

2011-05-19 Thread Andrei Warkentin
Implements support for multiblock transfers bounded by SET_BLOCK_COUNT (CMD23). Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Cc: malc...@google.com Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/host/sdhci.c | 66

[v5 4/5] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-05-19 Thread Andrei Warkentin
SD cards operating at UHS104 or better support SET_BLOCK_COUNT. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Cc: malc...@google.com Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c |9 ++--- drivers/mmc/core/sd.c|7

[v5 5/5] MMC: SDHCI AutoCMD23 support.

2011-05-19 Thread Andrei Warkentin
Enables Auto-CMD23 support where available (SDHCI 3.0 controllers) Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Cc: subha...@codeaurora.org Cc: malc...@google.com Tested-by: Arindam Nath arindam.n...@amd.com Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc

Re: [RFC]mmc: fix dead lock issue when system entering S3

2011-05-18 Thread Andrei Warkentin
Hey, On Tue, May 17, 2011 at 5:03 AM, Dong, Chuanxiao chuanxiao.d...@intel.com wrote: Just found Andrei Warkentin also submitted a RFC patch, which included more fix for mounted root file system media. Please ignore this thread. I submitted an RFC patch as an idea up for discussion

Re: [RFC] MMC: Request for comments attempt at dealing with removeable suspend/resume.

2011-05-18 Thread Andrei Warkentin
On Tue, May 17, 2011 at 5:15 AM, Dong, Chuanxiao chuanxiao.d...@intel.com wrote: -Original Message- From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Andrei Warkentin Sent: Tuesday, April 05, 2011 4:31 AM To: linux-mmc@vger.kernel.org Cc

Re: cjb traveling May 1 - May 10

2011-04-29 Thread Andrei Warkentin
Hi Chris, On Fri, Apr 29, 2011 at 3:35 PM, Chris Ball c...@laptop.org wrote: Hi, I'll be in Uruguay for OLPC from May 1st to May 10th.  I'll be online there but won't have as much time to reply to list mail as usual -- I'll catch up on mail properly after I get back. I'm going to push the

Re: [PATCH] mmc: subtract boot sectors from disk size for eMMC 4.3+ devices

2011-04-28 Thread Andrei Warkentin
On Thu, Apr 28, 2011 at 1:00 PM, Colin Cross ccr...@google.com wrote: On Thu, Apr 28, 2011 at 3:33 AM, Linus Walleij linus.wall...@linaro.org wrote: 2011/3/5 Linus Walleij linus.wall...@stericsson.com: This patch is a squash of patches from Gary King and Ulf Hansson done in Android trees,

Re: [PATCH] RFC: mmc: subtract boot sectors from disk size on quirky cards

2011-04-28 Thread Andrei Warkentin
partition is inaccessible. Cc: Gary King gk...@nvidia.com Cc: Ulf Hansson ulf.hans...@stericsson.com Cc: Colin Cross ccr...@android.com Cc: Andrei Warkentin andr...@motorola.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- GARY: can you provide the VID+PID numbers

Re: [[v4] 5/5] MMC: SDHCI AutoCMD23 support.

2011-04-28 Thread Andrei Warkentin
On Thu, Apr 28, 2011 at 3:34 AM, Nath, Arindam arindam.n...@amd.com wrote: Hi Andrei, The controller is able to send Auto CMD23 with your patch. Thanks, Arindam Whoo hoo :-). This just about made my day... Thanks a lot Arindam, I really appreciate you taking your time to test this out! So

Re: [[v4] 5/5] MMC: SDHCI AutoCMD23 support.

2011-04-27 Thread Andrei Warkentin
Hi Arindam, On Wed, Apr 27, 2011 at 12:49 AM, Nath, Arindam arindam.n...@amd.com wrote: Hi Andrei, Is there any more change to your V4 than the ones we discussed yesterday? I did the mod we discussed, but seems like the driver only sends CMD23 now, not Auto CMD23. Two things V4 does,

Re: [[v4] 5/5] MMC: SDHCI AutoCMD23 support.

2011-04-27 Thread Andrei Warkentin
On Wed, Apr 27, 2011 at 1:02 AM, Nath, Arindam arindam.n...@amd.com wrote: Guess I will have to hand modify my code based on your V4 patches again, I don't think your patches are based on top of mine. Thanks, Arindam Just verify these blobs look similar - + else if

Re: [PATCH 1/6] mmc: block: Resume multi-block reads after transient read errors.

2011-04-27 Thread Andrei Warkentin
On Wed, Apr 27, 2011 at 3:16 AM, Adrian Hunter adrian.hun...@nokia.com wrote: On 26/04/11 16:19, Arnd Bergmann wrote: On Saturday 23 April 2011, John Stultz wrote: From: David Dingdavid.j.d...@motorola.com CC: Chris Ballc...@laptop.org CC: Arnd Bergmanna...@arndb.de CC: Dima

Re: [PATCH 0/2] Race fixes in sdhci

2011-04-27 Thread Andrei Warkentin
On Wed, Apr 27, 2011 at 8:23 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: I've had this pair of patches sitting in my tree for a while now (I believe they were previously posted) providing stability improvements in sdhci on my systems.  Having looked through the code I believe but

Re: CMD23 plumbing and support patchset.

2011-04-26 Thread Andrei Warkentin
On Fri, Apr 22, 2011 at 9:51 PM, Chris Ball c...@laptop.org wrote: Hi, On Thu, Apr 21 2011, Andrei Warkentin wrote: Can you give me the manufacturing date? This is pretty interesting. You can see an improvement even if you do something like time block writes (O_DIRECT | O_SYNC, of course

Re: [PATCH] mmc: sdhci: add support for pre_req and post_req

2011-04-26 Thread Andrei Warkentin
Hi, On Fri, Apr 22, 2011 at 6:01 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Andrei.. Did you test this patch with ADMA? I wonder that be increased performance or others.. FWIW... ADMA With changes adb shell echo 0 /sys/module/sdhci/parameters/no_prepost time adb shell iozone -a

CMD23 plumbing patchset.

2011-04-26 Thread Andrei Warkentin
This is the fourth version of the CMD23 plumbing and host driver support. Changes: 1) Changes MMC white list to a black list. 2) Fixes two stupid bugs in tentative AutoCMD23 patch (sorry Arindam) ToC: [[v4] 1/5] MMC: Add/remove quirks conditional support. [[v4] 2/5] MMC: Use CMD23 for multiblock

[[v4] 1/5] MMC: Add/remove quirks conditional support.

2011-04-26 Thread Andrei Warkentin
Conditional add/remove quirks for MMC and SD. Cc: c...@laptop.org Signed-off-by: Andrei Warkentin andr...@motorola.com --- include/linux/mmc/card.h | 40 1 files changed, 36 insertions(+), 4 deletions(-) diff --git a/include/linux/mmc/card.h b/include

[[v4] 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-04-26 Thread Andrei Warkentin
CMD23-prefixed instead of open-ended multiblock transfers have a performance advantage on some MMC cards. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c | 109

[[v4] 3/5] MMC: Implement MMC_CAP_CMD23 for SDHCI.

2011-04-26 Thread Andrei Warkentin
Implements support for multiblock transfers bounded by SET_BLOCK_COUNT (CMD23). Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/host/sdhci.c | 70 ++--- include/linux

[[v4] 4/5] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-04-26 Thread Andrei Warkentin
SD cards operating at UHS104 or better support SET_BLOCK_COUNT. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c |9 ++--- drivers/mmc/core/sd.c|7 +++ include/linux/mmc/card.h

[[v4] 5/5] MMC: SDHCI AutoCMD23 support.

2011-04-26 Thread Andrei Warkentin
Enables Auto-CMD23 support where available (SDHCI 3.0 controllers) Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Cc: subha...@codeaurora.org Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/host/sdhci.c | 17 - drivers/mmc/host/sdhci.h

Re: [PATCH] mmc: block: init force_ro sysfs attribute

2011-04-23 Thread Andrei Warkentin
On Sat, Apr 23, 2011 at 10:22 AM, Rabin Vincent ra...@rab.in wrote: To avoid lockdep warnings: BUG: key dc90a520 not in .data! [ cut here ] WARNING: at /home/rabin/kernel/arm/kernel/lockdep.c:2701 sysfs_add_file_mode+0x4c/0xb0() Modules linked in: [c004b5d8]

Re: CMD23 plumbing and support patchset.

2011-04-21 Thread Andrei Warkentin
Hi Chris, On Wed, Apr 20, 2011 at 8:44 PM, Chris Ball c...@laptop.org wrote: Hi, On Sat, Apr 16 2011, Andrei Warkentin wrote: This is the third version of the CMD23 plumbing and host driver support patch set. Changes: 1) CMD23 support (used for features such as reliable writes

Re: CMD23 plumbing and support patchset.

2011-04-21 Thread Andrei Warkentin
On Thu, Apr 21, 2011 at 1:29 AM, Andrei Warkentin andr...@motorola.com wrote: Hi Chris, On Wed, Apr 20, 2011 at 8:44 PM, Chris Ball c...@laptop.org wrote: Hi, On Sat, Apr 16 2011, Andrei Warkentin wrote: This is the third version of the CMD23 plumbing and host driver support patch set

[RFC] MMC: Block: Ensure hardware partitions don't mess with mmcblk device naming.

2011-04-21 Thread Andrei Warkentin
With the hardware partitions support (which represent additional logical devices present on MMC), devidx does not correspond with index used to form /dev/mmcblkX names. So use an additional allocated index for device names. Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc

Re: [RFC] MMC: Block: Ensure hardware partitions don't mess with mmcblk device naming.

2011-04-21 Thread Andrei Warkentin
On Thu, Apr 21, 2011 at 1:07 AM, Andrei Warkentin andr...@motorola.com wrote: With the hardware partitions support (which represent additional logical devices present on MMC), devidx does not correspond with index used to form /dev/mmcblkX names. So use an additional allocated index

Re: [PATCH] sdhci: add quirk to support shared bus controller

2011-04-21 Thread Andrei Warkentin
Hi, On Thu, Apr 21, 2011 at 3:51 AM, Barry Song 21cn...@gmail.com wrote: From: Bin Shi bin@csr.com some controllers share data bus or other pins between multi-controllers and need to switch the functions of shared pins runtime this patch requested those shared pins before actual

Re: CMD23 plumbing and support patchset.

2011-04-21 Thread Andrei Warkentin
On Thu, Apr 21, 2011 at 1:30 AM, Andrei Warkentin andr...@motorola.com wrote: On Thu, Apr 21, 2011 at 1:29 AM, Andrei Warkentin andr...@motorola.com wrote: Hi Chris, On Wed, Apr 20, 2011 at 8:44 PM, Chris Ball c...@laptop.org wrote: Hi, On Sat, Apr 16 2011, Andrei Warkentin wrote

Re: [patchv3 4/4] MMC: MMC boot partitions support.

2011-04-20 Thread Andrei Warkentin
On Thu, Apr 21, 2011 at 12:22 AM, Chris Ball c...@laptop.org wrote: Hi, On Thu, Apr 21 2011, Philip Rakity wrote: Aren't these the hidden partitions ?  Only available at boot time? Yes, it's the previously-hidden boot partitions -- Andrei's patch exposes them to Linux. I need to apply my

Re: [patchv3 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-04-19 Thread Andrei Warkentin
On Tue, Apr 19, 2011 at 2:39 AM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 19 April 2011, Andrei Warkentin wrote: So maybe this should be a blacklist for known bad cards. And the entire support should be a default-N compile option for MMCs (not SDs). That way someone who just does an make

Re: [patchv3 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-04-18 Thread Andrei Warkentin
On Sun, Apr 17, 2011 at 12:23 PM, Arnd Bergmann a...@arndb.de wrote: On Saturday 16 April 2011, Andrei Warkentin wrote: @@ -982,6 +1016,26 @@ static const struct mmc_fixup blk_fixups[] =         MMC_FIXUP(SEM08G, 0x2, 0x100, add_quirk, MMC_QUIRK_INAND_CMD38),         MMC_FIXUP(SEM16G, 0x2

Re: [patchv3 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-04-17 Thread Andrei Warkentin
Hi Arnd, On Sun, Apr 17, 2011 at 12:23 PM, Arnd Bergmann a...@arndb.de wrote: On Saturday 16 April 2011, Andrei Warkentin wrote: @@ -982,6 +1016,26 @@ static const struct mmc_fixup blk_fixups[] =         MMC_FIXUP(SEM08G, 0x2, 0x100, add_quirk, MMC_QUIRK_INAND_CMD38),         MMC_FIXUP(SEM16G

Re: [patchv3 5/5] MMC: SDHCI AutoCMD23 support.

2011-04-17 Thread Andrei Warkentin
Hi Arnd, On Sun, Apr 17, 2011 at 12:25 PM, Arnd Bergmann a...@arndb.de wrote: On Saturday 16 April 2011, Andrei Warkentin wrote: @@ -68,6 +68,15 @@ config MMC_SDHCI_PCI           If unsure, say N. +config MMC_SDHCI_AUTO_CMD23 +       tristate SDHCI 3.0 Auto-CMD23 support (EXPERIMENTAL

Re: [PATCH v3 01/12] mmc: sdhci: add support for auto CMD23

2011-04-16 Thread Andrei Warkentin
On Sat, Apr 16, 2011 at 1:25 AM, Nath, Arindam arindam.n...@amd.com wrote: Hi Subhash, Please keep in mind that my patch _only_ adds support for Auto CMD23, and not CMD23. CMD23 support can be made part of block layer, but Auto CMD23 is a feature as per the Host Controller Spec v3.00. So my

Re: [PATCH v3 01/12] mmc: sdhci: add support for auto CMD23

2011-04-16 Thread Andrei Warkentin
On Sat, Apr 16, 2011 at 1:43 AM, Nath, Arindam arindam.n...@amd.com wrote: and then sending the CMD23 for multi block read/write. MMC cards also supports CMD23 so in that case again you have to check MMC EXT_CSD register for CMD23 Yes, you are right. I followed the Physical Layer Spec v3.01

Re: [PATCH v3 01/12] mmc: sdhci: add support for auto CMD23

2011-04-16 Thread Andrei Warkentin
On Sat, Apr 16, 2011 at 12:25 AM, Nath, Arindam arindam.n...@amd.com wrote: Hi Andrei, I saw in one of the community threads that you also have a patch ready for supporting Auto CMD23 for SDHCI. Can you share the same with us? I would like to take a look at your patch first before deciding

CMD23 plumbing and support patchset.

2011-04-16 Thread Andrei Warkentin
Dear Group, This is the third version of the CMD23 plumbing and host driver support patch set. Changes: 1) CMD23 support (used for features such as reliable writes) is decoupled from general multiblock trans through use of a quirk for affected cards. 2) Newer Sandisk MMC products are

[patchv3 1/5] MMC: Add/remove quirks conditional support.

2011-04-16 Thread Andrei Warkentin
Conditional add/remove quirks for MMC and SD. Cc: c...@laptop.org Signed-off-by: Andrei Warkentin andr...@motorola.com --- include/linux/mmc/card.h | 40 1 files changed, 36 insertions(+), 4 deletions(-) diff --git a/include/linux/mmc/card.h b/include

[patchv3 2/5] MMC: Use CMD23 for multiblock transfers when we can.

2011-04-16 Thread Andrei Warkentin
CMD23-prefixed instead of open-ended multiblock transfers have a performance advantage on some MMC cards. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c | 114

[patchv3 4/5] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-04-16 Thread Andrei Warkentin
SD cards operating at UHS104 or better support SET_BLOCK_COUNT. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c |9 ++--- drivers/mmc/core/sd.c|1 + include/linux/mmc/card.h |1

[patchv3 5/5] MMC: SDHCI AutoCMD23 support.

2011-04-16 Thread Andrei Warkentin
Enables Auto-CMD23 support where available (SDHCI 3.0 controllers) Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Cc: subha...@codeaurora.org Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/host/Kconfig |9 + drivers/mmc/host/sdhci.c | 16

Re: [PATCH v3 01/12] mmc: sdhci: add support for auto CMD23

2011-04-16 Thread Andrei Warkentin
On Sat, Apr 16, 2011 at 4:40 AM, Nath, Arindam arindam.n...@amd.com wrote: Hi Andrei, -Original Message- From: Andrei Warkentin [mailto:andr...@motorola.com] Sent: Saturday, April 16, 2011 2:38 PM To: Nath, Arindam Cc: linux-mmc@vger.kernel.org Subject: Re: [PATCH v3 01/12] mmc

[PATCH] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-04-16 Thread Andrei Warkentin
SD cards operating at UHS104 or better support SET_BLOCK_COUNT. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c |9 ++--- drivers/mmc/core/sd.c|7 +++ include/linux/mmc/card.h

Re: SET_BLOCK_COUNT-bounded multiblock transfers

2011-04-15 Thread Andrei Warkentin
On Thu, Apr 14, 2011 at 6:18 PM, Chris Ball c...@laptop.org wrote: If we've seen a card that freaks out and loses significant bandwidth, that would be a good reason to start with a whitelist.  If all the data we have suggests that it's performance-wise either a win or a no-op, that's a fine

Re: SET_BLOCK_COUNT-bounded multiblock transfers

2011-04-15 Thread Andrei Warkentin
+Arindam (This is the patch set I mentioned) On Fri, Apr 15, 2011 at 2:10 AM, Andrei Warkentin andr...@motorola.com wrote: On Thu, Apr 14, 2011 at 6:18 PM, Chris Ball c...@laptop.org wrote: If we've seen a card that freaks out and loses significant bandwidth, that would be a good reason

Re: [PATCH] MMC: fix a race between card-detect rescan and clock-gate work instances

2011-04-15 Thread Andrei Warkentin
On Fri, Apr 15, 2011 at 1:08 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Currently there is a race in the MMC core between a card-detect rescan work and the clock-gating work, scheduled from a command completion. Fix it by removing the dedicated clock-gating mutex and using the MMC

Re: [PATCH v3 01/12] mmc: sdhci: add support for auto CMD23

2011-04-15 Thread Andrei Warkentin
+linux-mmc On Fri, Apr 15, 2011 at 3:03 PM, Andrei Warkentin andr...@motorola.com wrote: On Fri, Apr 15, 2011 at 1:57 PM, Andrei Warkentin andr...@motorola.com wrote: Hi Arindam, On Fri, Apr 15, 2011 at 12:34 PM, Nath, Arindam arindam.n...@amd.com wrote: Hi Andrei, I've recently posted

[patchv2 1/3] MMC: Use CMD23 for multiblock transfers when we can.

2011-04-15 Thread Andrei Warkentin
CMD23-prefixed instead of open-ended multiblock transfers have a performance advantage on some MMC cards. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c | 112

[patchv2 2/3] MMC: Implement MMC_CAP_CMD23 for SDHCI.

2011-04-15 Thread Andrei Warkentin
Implements support for multiblock transfers bounded by SET_BLOCK_COUNT (CMD23). Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/host/sdhci.c | 60 + 1 files changed

[patchv2 3/3] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-04-15 Thread Andrei Warkentin
SD cards operating at UHS104 or better support SET_BLOCK_COUNT. Cc: arindam.n...@amd.com Cc: c...@laptop.org Cc: a...@arndb.de Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c |9 ++--- drivers/mmc/core/sd.c|1 + include/linux/mmc/card.h |1

[PATCH] MMC: Fix use of uninitialized data in mmc_cmd_app.

2011-04-13 Thread Andrei Warkentin
mmc_cmd_app did not zero out mmc_command on stack. Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/core/sd_ops.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/core/sd_ops.c b/drivers/mmc/core/sd_ops.c index 76af349..71fdb07 100644

SET_BLOCK_COUNT-bounded multiblock transfers

2011-04-13 Thread Andrei Warkentin
This is a request for comments for a patch set that enables predefined multiblock transfers if these are supported. Before this patch set, all multiblock transfers look like (for example) CMD25 - [block] [block] [block] [block] - CMD12 (stop) ...or for controllers with Auto-CMD12 CMD25 -

[RFC 1/3] MMC: use CMD23 for multiblock transfers when we can.

2011-04-13 Thread Andrei Warkentin
CMD23-prefixed instead of open-ended multiblock transfers have a performance advantage on some MMC cards. Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c | 89 ++--- include/linux/mmc/core.h |1 + include/linux/mmc

[RFC 2/3] MMC: Implement MMC_CAP_CMD23 for SDHCI.

2011-04-13 Thread Andrei Warkentin
Implements support for multiblock transfers bounded by SET_BLOCK_COUNT (CMD23). Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/host/sdhci.c | 60 + 1 files changed, 44 insertions(+), 16 deletions(-) diff --git a/drivers/mmc

[RFC 3/3] MMC: Block CMD23 support for UHS104/SDXC cards.

2011-04-13 Thread Andrei Warkentin
SD cards operating at UHS104 or better support SET_BLOCK_COUNT. Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c |9 ++--- drivers/mmc/core/sd.c|1 + include/linux/mmc/card.h |1 + include/linux/mmc/sd.h |1 + 4 files changed, 9

Re: SET_BLOCK_COUNT-bounded multiblock transfers

2011-04-13 Thread Andrei Warkentin
On Wed, Apr 13, 2011 at 7:38 PM, Andrei Warkentin andr...@motorola.com wrote: This is a request for comments for a patch set that enables predefined multiblock transfers if these are supported. Before this patch set, all multiblock transfers look like (for example) CMD25 - [block] [block

Re: [patchv3 2/4] MMC: SDHCI R1B command handling + MMC_CAP_ERASE.

2011-04-12 Thread Andrei Warkentin
On Tue, Apr 12, 2011 at 4:06 AM, Dong, Chuanxiao chuanxiao.d...@intel.com wrote: -Original Message- From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Andrei Warkentin Sent: Tuesday, April 12, 2011 5:14 AM To: linux-mmc@vger.kernel.org Cc

Re: SanDisk 4.3+ iNAND eMMC devices TRIM bug workaround.

2011-04-12 Thread Andrei Warkentin
On Tue, Apr 12, 2011 at 11:57 AM, Chris Ball c...@laptop.org wrote: Hi Andrei, On Mon, Apr 11 2011, Andrei Warkentin wrote: This fixes the out-of-spec erase/trim support. CMD38 argument is passed through an EXT_CSD byte instead of as the command argument. This has the effect that trims act

[PATCH] MMC: Fix erase/trim for certain SanDisk cards.

2011-04-12 Thread Andrei Warkentin
CMD38 argument is passed through EXT_CSD[113]. Signed-off-by: Andrei Warkentin andr...@motorola.com --- drivers/mmc/card/block.c | 40 +++- include/linux/mmc/card.h |1 + 2 files changed, 40 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/card

Re: [PATCH] MMC: Fix erase/trim for certain SanDisk cards.

2011-04-12 Thread Andrei Warkentin
On Tue, Apr 12, 2011 at 3:03 PM, Andrei Warkentin andr...@motorola.com wrote: CMD38 argument is passed through EXT_CSD[113]. Signed-off-by: Andrei Warkentin andr...@motorola.com --- Wrong version again, sorry! :( A -- To unsubscribe from this list: send the line unsubscribe linux-mmc

  1   2   3   >