This patch-set adds support of packed command feature for eMMC4.5 devices. This is resending of v7 because review of Subhash Jadavani in v6 is not applied properly. Changes in v7: - Break the endless execution in some error handling(from Maya Erez). - Change the condition for enabling packed command(from Subhash Jadavani). - Spilt the error related routine from mmc_blk_issue_rw_rq. Changes in v6: - Split the patch for packed read. - Remove the unnecessary code. 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 warning 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 unncessary 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 (3): mmc: core: Add packed command feature of eMMC4.5 mmc: core: Support packed write command for eMMC4.5 device mmc: core: Support packed read command for eMMC4.5 device drivers/mmc/card/block.c | 532 +++++++++++++++++++++++++++++++++++++++++--- drivers/mmc/card/queue.c | 49 ++++- drivers/mmc/card/queue.h | 14 ++ drivers/mmc/core/mmc.c | 25 ++ 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, 616 insertions(+), 31 deletions(-) Best regards, Seungwon Jeon. -- 1.7.2.3 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html