kernel_optimize_test/drivers/mmc/core
Baolin Wang bb4eecf23b mmc: Change the max discard sectors and erase response when HW busy detect
When mmc host HW supports busy signalling (using R1B as response), don't
use the host->max_busy_timeout as the limitation when deciding the max
discard sectors, which we inform the generic BLOCK layer about. Instead,
let's use at least one preferred erase size as the max discard sectors.

In cases when the host controller supports HW busy signalling and the
timeout for the erase operation doesn't exceed the max_busy_timeout, we
keep the R1B response, otherwise we prevent the host from doing HW busy
detection by converting to a R1 response.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2016-07-25 11:11:08 +02:00
..
bus.c
bus.h
core.c mmc: Change the max discard sectors and erase response when HW busy detect 2016-07-25 11:11:08 +02:00
core.h
debugfs.c mmc: debugfs: add HS400 enhanced strobe description 2016-07-25 10:34:06 +02:00
host.c mmc: core: expose MMC_CAP2_NO_* to dt 2016-07-25 10:34:49 +02:00
host.h
Kconfig
Makefile
mmc_ops.c mmc: mmc: fix switch timeout issue caused by jiffies precision 2016-07-25 10:34:09 +02:00
mmc_ops.h
mmc.c mmc: core: Extend sysfs with DSR register 2016-07-25 10:34:51 +02:00
pwrseq_emmc.c
pwrseq_simple.c
pwrseq.c
pwrseq.h
quirks.c mmc: core: Disable HPI for certain Hynix eMMC cards 2016-07-25 10:34:12 +02:00
sd_ops.c
sd_ops.h
sd.c mmc: core: Extend sysfs with DSR register 2016-07-25 10:34:51 +02:00
sd.h
sdio_bus.c
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c
sdio_ops.c
sdio_ops.h
sdio.c
slot-gpio.c
slot-gpio.h