On Mon, Mar 16, 2020 at 12:31:18PM +0100, gregkh@xxxxxxxxxxxxxxxxxxx wrote:
The patch below does not apply to the 5.5-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <stable@xxxxxxxxxxxxxxx>. thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From 1292e3efb149ee21d8d33d725eeed4e6b1ade963 Mon Sep 17 00:00:00 2001 From: Ulf Hansson <ulf.hansson@xxxxxxxxxx> Date: Tue, 10 Mar 2020 12:49:43 +0100 Subject: [PATCH] mmc: core: Allow host controllers to require R1B for CMD6 It has turned out that some host controllers can't use R1B for CMD6 and other commands that have R1B associated with them. Therefore invent a new host cap, MMC_CAP_NEED_RSP_BUSY to let them specify this. In __mmc_switch(), let's check the flag and use it to prevent R1B responses from being converted into R1. Note that, this also means that the host are on its own, when it comes to manage the busy timeout. Suggested-by: Sowjanya Komatineni <skomatineni@xxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> Tested-by: Anders Roxell <anders.roxell@xxxxxxxxxx> Tested-by: Sowjanya Komatineni <skomatineni@xxxxxxxxxx> Tested-by: Faiz Abbas <faiz_abbas@xxxxxx> Tested-By: Peter Geis <pgwipeout@xxxxxxxxx> Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>
I've fixed up and queued this whole mmc series of stable tagged patches for 4.19-5.5. -- Thanks, Sasha