Skip to contentSkip to conversation

mmc: core: Support packed command feature of eMMC4.5

PATCH Superseded Seungwon Jeon 1 participant 1 message Feb 27, 2012 MMC, SD and SDIO

v5 of 9 Superseded Latest is v9 →

lore
Share & tools
lore
#0 lore raw

v5 cover mmc: core: Support packed command feature of eMMC4.5

This patch-set adds support of packed command feature for eMMC4.5 devices.

Changes in v5:
- Revert "Add a variable member in mmc_host for minimum number of packed entries".
- Fix the partial packed command from failure index.
- Clean an unnecessary parameter of mmc_blk_packed_hdr_wrq_prep
- Clean warnings of checkpatch.

Changes in v4:
- Add Data-tag as CMD23 argument for packed header.
- Separate the capability of MMC_CAP2_PACKED_CMD into read and write.
- Remove unnecessary initial value.

Changes in v3:
- Add a variable member in mmc_host for minimum number of packed entries. This value can be overridden by host.
- Fix a handling of error sequence.

Changes in v2:
- Fix the packed read sequence and error handling.
- Apply checking the exception status for all cases with
the comments from Maya Erez and Sahitya Tummala.
- Fix preparing the packed list with the comment from Maya Erez and Venkatraman.

Seungwon Jeon (2):
mmc: core: Add packed command feature of eMMC4.5
mmc: core: Support packed command for eMMC4.5 device

 drivers/mmc/card/block.c   |  496 +++++++++++++++++++++++++++++++++++++++++--
 drivers/mmc/card/queue.c   |   48 ++++-
 drivers/mmc/card/queue.h   |   13 ++
 drivers/mmc/core/mmc.c     |   24 ++
 drivers/mmc/core/mmc_ops.c |    1 +
 include/linux/mmc/card.h   |    3 +
 include/linux/mmc/core.h   |    4 +
 include/linux/mmc/host.h   |    4 +
 include/linux/mmc/mmc.h    |   15 ++
 9 files changed, 581 insertions(+), 27 deletions(-)

Best regards,
Seungwon Jeon.
--
1.7.2.3