On Fri, Oct 27, 2017 at 09:46:32AM +0800, Shawn Lin wrote: > Could you kindly try this on top of this series? And do some write test > for the SD cards. > > @@ -2210,9 +2210,9 @@ static struct mmc_blk_data > *mmc_blk_alloc_req(struct mmc_card *card, > > if (mmc_host_cmd23(card->host)) { > if ((mmc_card_mmc(card) && > - card->csd.mmca_vsn >= CSD_SPEC_VER_3) || > - (mmc_card_sd(card) && > - card->scr.cmds & SD_SCR_CMD23_SUPPORT)) > + card->csd.mmca_vsn >= CSD_SPEC_VER_3)) > + //(mmc_card_sd(card) && > + //card->scr.cmds & SD_SCR_CMD23_SUPPORT)) > md->flags |= MMC_BLK_CMD23; Did that and tested read/write to SD card, works fine on the Cavium tn81xx arm64 board. Feel free to add: Tested-by: Jan Glauber <jglauber@xxxxxxxxxx> --Jan -- 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