[PATCH RESEND 1/2] SD/MMC: add an interface to re-initialize bounce buffer

2012-08-08 Thread Qiang Liu
-initialize bounce buffer accorinding to new bounce size at run-time; Cc: Chris Ball c...@laptop.org Cc: Rob Landley r...@landley.net Signed-off-by: Qiang Liu qiang@freescale.com --- Hi all, I resend the patch because bounce size is a key factor of performance for some SDMA card, larger bounce size

[PATCH RESEND 2/2] mmc/doc: feature description of runtime bounce buffer size adjustment

2012-08-08 Thread Qiang Liu
Add feature description of attribute bounce buffer size. Cc: Chris Ball c...@laptop.org Cc: Rob Landley r...@landley.net Signed-off-by: Qiang Liu qiang@freescale.com --- Documentation/mmc/mmc-dev-attrs.txt |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH V2 1/2] SD/MMC: add an interface to re-initialize bounce buffer

2011-12-20 Thread Qiang Liu
of MMC_QUEUE_BOUNCESZ; 2. Re-initialize bounce buffer accorinding to new bounce size at run-time; Signed-off-by: Qiang Liu qiang@freescale.com --- changes for V2 merge former 2 patches to 1 Here is the test results with different mmc bounce size, IOzone is used to test performance of mass data

[PATCH V2 2/2] mmc/doc: feature description of runtime bounce buffer size adjustment

2011-12-20 Thread Qiang Liu
Add feature description about runtime bounce buffer size adjustment. CC: Chris Ball c...@laptop.org Signed-off-by: Qiang Liu qiang@freescale.com --- changes for V2 add suplementary description of bouncesz limitation Documentation/mmc/mmc-dev-attrs.txt |2 ++ 1 files changed, 2

[PATCH] mmc/doc: feature description of runtime bounce buffer size adjustment

2011-12-01 Thread Qiang Liu
Add feature description about runtime bounce buffer size adjustment. CC: Chris Ball c...@laptop.org Signed-off-by: Qiang Liu qiang@freescale.com --- Per Chris's request add description in mmc document. Documentation/mmc/mmc-dev-attrs.txt |2 ++ 1 files changed, 2 insertions(+), 0

[PATCH 2/2] SD/MMC: add support of adjust bounce size at run-time

2011-11-23 Thread Qiang Liu
Add bounce_size under /sys/block/mmcblk0/bouncesz. Support dynamic adjustment of bounce buffer in run-time (include mounted or unmounted filesystem). /sys/block/mmcblk0/bouncesz should be integer multiple of 512, the value should be range from 4096 to 4194304. Signed-off-by: Qiang Liu qiang

[PATCH 1/2] SD/MMC: add an interface to re-initialize bounce buffer

2011-11-23 Thread Qiang Liu
1. use variable instead of MMC_QUEUE_BOUNCESZ; 2. Re-initialize bounce buffer accorinding to new bounce size at run-time; Signed-off-by: Qiang Liu qiang@freescale.com --- Here is the test results with different mmc bounce size, IOzone is used to test performance of mass data transmission

[PATCH] SD/MMC: fix the issue of SDHC performance regression

2011-11-07 Thread Qiang Liu
to response status of CMD6, but not for SPEC Version. Response of switch command is first consideration factor when set SDHC max working frequency. TRAN_SPEED in CSD register will be seemed as the second factor. Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/mmc/core/sd.c|6

[PATCH] [RFC/PATCH] SD/MMC: support adjust bounce buffer size dynamically in menuconfig

2011-11-04 Thread Qiang Liu
KB reclen write rewritereadreread 1048576 64 18533 190762284123151 2097152 64 17744 179801833318342 Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/mmc/card/Kconfig |9 + drivers/mmc/card/queue.c