[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191011131502.29579-1-ludovic.Barre@st.com>
Date: Fri, 11 Oct 2019 15:15:00 +0200
From: Ludovic Barre <ludovic.Barre@...com>
To: Ulf Hansson <ulf.hansson@...aro.org>,
Rob Herring <robh+dt@...nel.org>
CC: <srinivas.kandagatla@...aro.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-mmc@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
Ludovic Barre <ludovic.barre@...com>
Subject: [PATCH 0/2] mmc: add unstuck function if host is in deadlock state
From: Ludovic Barre <ludovic.barre@...com>
As discussed in this thread: https://patchwork.kernel.org/patch/10786421/
After a request, the host could be in deadlock state, and waiting
for a specific action to unstuck the hardware block before
resending a new command. This series adds mmc_hw_unstuck
callback (structure mmc_host_ops) before resending a new command
(call in mmc_blk_mq_rw_recovery, mmc_wait_for_req_done).
Ludovic Barre (2):
mmc: add unstuck function if host is in deadlock state
mmc: mmci: add unstuck feature
drivers/mmc/core/block.c | 11 +++++++++++
drivers/mmc/core/core.c | 35 +++++++++++++++++++++++++++++++++--
drivers/mmc/host/mmci.c | 23 +++++++++++++++++++++--
include/linux/mmc/core.h | 1 +
include/linux/mmc/host.h | 7 +++++++
5 files changed, 73 insertions(+), 4 deletions(-)
--
2.17.1
Powered by blists - more mailing lists