-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
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
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
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
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
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
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
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
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