alistair23-linux/drivers/mmc/core
Adrian Hunter 26caddf274 mmc: block: Fix unsupported parallel dispatch of requests
The mmc block driver does not support parallel dispatch of requests. In
normal circumstances, all requests are anyway funneled through a single
work item, so parallel dispatch never happens. However it can happen if
there is no elevator.

Fix that by detecting if a dispatch is in progress and returning busy
(BLK_STS_RESOURCE) in that case

Fixes: 81196976ed ("mmc: block: Add blk-mq support")
Cc: stable@vger.kernel.org # v4.16+
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2018-08-21 16:12:41 +02:00
..
block.c MMC core: 2018-06-05 16:11:43 -07:00
block.h
bus.c
bus.h
card.h mmc: core: Add a new quirk for limiting clock rate 2018-05-02 15:08:39 +02:00
core.c mmc: core: Drop the unused mmc_power_save|restore_host() 2018-07-16 11:21:45 +02:00
core.h mmc: core: Drop the unused mmc_power_save|restore_host() 2018-07-16 11:21:45 +02:00
debugfs.c
host.c mmc: core: Move calls to ->prepare_hs400_tuning() closer to mmc code 2018-05-29 12:24:26 +02:00
host.h
Kconfig
Makefile
mmc.c mmc: core: improve reasonableness of bus width setting for HS400es 2018-08-01 14:15:28 +02:00
mmc_ops.c mmc: core: Adjust and reuse the macro of R1_STATUS(x) 2018-07-16 11:21:45 +02:00
mmc_ops.h
mmc_test.c
pwrseq.c
pwrseq.h
pwrseq_emmc.c
pwrseq_sd8787.c
pwrseq_simple.c mmc: pwrseq: Use kmalloc_array instead of stack VLA 2018-05-02 15:08:29 +02:00
queue.c mmc: block: Fix unsupported parallel dispatch of requests 2018-08-21 16:12:41 +02:00
queue.h mmc: block: Fix unsupported parallel dispatch of requests 2018-08-21 16:12:41 +02:00
quirks.h mmc: core: sdio: Set SDIO clock of SDR104 to 150MHz for Marvell 8887 chip 2018-05-02 15:08:39 +02:00
sd.c mmc: core: Rename ->reset() bus ops to ->hw_reset() 2018-05-08 09:33:29 +02:00
sd.h
sd_ops.c
sd_ops.h
sdio.c mmc: core: Drop the unused mmc_power_save|restore_host() 2018-07-16 11:21:45 +02:00
sdio_bus.c mmc: sdio: Respect all error codes from dev_pm_domain_attach() 2018-05-14 22:58:45 +02:00
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c
sdio_ops.c
sdio_ops.h
sdio_uart.c tty: replace ->proc_fops with ->proc_show 2018-05-16 07:24:30 +02:00
slot-gpio.c mmc: core: cd_label must be last entry of mmc_gpio struct 2018-07-03 07:12:35 +02:00
slot-gpio.h