Skip to contentSkip to conversation

mmc: card: Add eMMC4.5 write packed commands unit-tests

PATCH Superseded Maya Erez 1 participant 1 message Jun 23, 2012

Subsystems (2)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Maya Erez

author
#0 lore raw

v2 cover mmc: card: Add eMMC4.5 write packed commands unit-tests

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

This patch is dependant in the following patches:
[PATCH RESEND v7 1/3] mmc: core: Add packed command feature of eMMC4.5 [PATCH RESEND v7 2/3] mmc: core: Support packed write command for eMMC4.5 device

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
block: 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                 | 1005 +++++++++++++++++++++++
 drivers/mmc/card/Kconfig             |   11 +
 drivers/mmc/card/Makefile            |    1 +
 drivers/mmc/card/block.c             |  138 +++-
 drivers/mmc/card/mmc_block_test.c    | 1449 ++++++++++++++++++++++++++++++++++
 drivers/mmc/card/queue.h             |   15 +
 drivers/mmc/core/bus.c               |    4 +
 drivers/mmc/core/debugfs.c           |  169 ++++
 drivers/mmc/core/mmc.c               |   18 +
 include/linux/mmc/card.h             |   24 +
 include/linux/test-iosched.h         |  218 +++++
 15 files changed, 3091 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
Signature · 4 lines
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.