linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] mmc: card: Add eMMC4.5 write packed commands unit-tests
@ 2012-07-15 11:15 Maya Erez
  0 siblings, 0 replies; only message in thread
From: Maya Erez @ 2012-07-15 11:15 UTC (permalink / raw)
  To: linux-mmc; +Cc: linux-arm-msm, Maya Erez

Expose the following packed commands tests:
- Test the write packed commands list preparation
- Simulate a returned error code
- Send an invalid packed command to the card

In order to test the eMMC4.5 features, the test-iosched is used.
The test scheduler allows testing a block device by dispatching
specific requests according to the test case and declare PASS/FAIL
according to the requests completion error code.
The write packed commands statistics are used to determine the success or failure of 
the packed commands tests, in addition to the generic request completion checking.


Changes in v4:
    - Add large sector size alignment to the packed commands stop reason statistics
    - Fix error handling in test-iosched
    - Code review fixes

Changes in v3:
    - Fix the cancel round mechanism

Changes in v2:
    - Add MMC write packing statistics and test-iosched scheduler patches as part of this patch.
    - Code review fixes


Maya Erez (3):
  mmc: block: Add MMC write packing statistics
  block: Add test-iosched scheduler
  mmc: card: Add eMMC4.5 write packed commands unit-tests

 Documentation/block/test-iosched.txt |   39 +
 block/Kconfig.iosched                |   11 +
 block/Makefile                       |    1 +
 block/blk-core.c                     |    3 +-
 block/test-iosched.c                 | 1036 +++++++++++++++++++++++
 drivers/mmc/card/Kconfig             |   11 +
 drivers/mmc/card/Makefile            |    1 +
 drivers/mmc/card/block.c             |  139 +++-
 drivers/mmc/card/mmc_block_test.c    | 1522 ++++++++++++++++++++++++++++++++++
 drivers/mmc/card/queue.h             |   15 +
 drivers/mmc/core/bus.c               |    4 +
 drivers/mmc/core/debugfs.c           |  176 ++++
 drivers/mmc/core/mmc.c               |   18 +
 include/linux/mmc/card.h             |   25 +
 include/linux/test-iosched.h         |  233 ++++++
 15 files changed, 3219 insertions(+), 15 deletions(-)
 create mode 100644 Documentation/block/test-iosched.txt
 create mode 100644 block/test-iosched.c
 create mode 100644 drivers/mmc/card/mmc_block_test.c
 create mode 100644 include/linux/test-iosched.h

-- 
1.7.3.3
-- 
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-15 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-15 11:15 [PATCH v4 0/3] mmc: card: Add eMMC4.5 write packed commands unit-tests Maya Erez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).