[PATCH v4 0/3] mmc: card: Add eMMC4.5 write packed commands unit-tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux