On 13 March 2017 at 13:36, Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote: > Commit 15520111500c ("mmc: core: Further fix thread wake-up") allowed a > queue to release the host with is_waiting_last_req set to true. A queue > waiting to claim the host will not reset it, which can result in the > queue getting stuck in a loop. > > Fixes: 15520111500c ("mmc: core: Further fix thread wake-up") > Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx # v4.10+ Thanks, applied for fixes! Kind regards Uffe > --- > drivers/mmc/core/block.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c > index 1621fa08e206..e59107ca512a 100644 > --- a/drivers/mmc/core/block.c > +++ b/drivers/mmc/core/block.c > @@ -1817,6 +1817,7 @@ void mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) > mmc_blk_issue_flush(mq, req); > } else { > mmc_blk_issue_rw_rq(mq, req); > + card->host->context_info.is_waiting_last_req = false; > } > > out: > -- > 1.9.1 > -- 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