diff options
| author | Ludovic Barre <ludovic.barre@st.com> | 2019-12-11 14:39:34 +0100 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-12-18 14:05:31 +0100 |
| commit | ee157abebc0c8ddb1de9c7cb2b8d8a06c69ce17d (patch) | |
| tree | bb4ac0c712c06d5586394ebe9b485f62e8880cd5 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | mmc: core: Remove mmc_gpiod_request_*(invert_gpio) (diff) | |
| download | linux-ee157abebc0c8ddb1de9c7cb2b8d8a06c69ce17d.tar.gz linux-ee157abebc0c8ddb1de9c7cb2b8d8a06c69ce17d.zip | |
mmc: mmci: add threaded irq to abort DPSM of non-functional state
The stm32_sdmmc variant has build-in support for datatimeout for R1B
requests. If a corresponding IRQ is raised, this triggers the DPSM to stay
busy and remains in a non-functional state. Only a reset can bring it back
to a functional state.
Because a reset must be issued from non-atomic context, let's defer this to
be managed from a threaded IRQ handler. Besides the reset, the threaded
handler also calls mmc_request_done(), to finally complete the request.
Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Link: https://lore.kernel.org/r/20191211133934.16932-1-ludovic.Barre@st.com
[Ulf: A few minor updates to the changelog/comments]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
