]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Enable the MMC host software queue for the SD card
authorBaolin Wang <baolin.wang@linaro.org>
Wed, 12 Feb 2020 04:12:57 +0000 (12:12 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:35:39 +0000 (14:35 +0100)
commit2e9f637eb5891c3ca2ff2b2f19875c6bdb7b9fed
treebcacd357157db6219c2e5eea7d5d88e4042f42a0
parent48f43bd7116e2a0d9bc60f3a0ea4e30c35f011de
mmc: core: Enable the MMC host software queue for the SD card

Enable the MMC host software queue for the SD card if the host controller
supports the MMC host software queue.

On my Spreadtrum platform, I did not see any obvious performance changes
in 4K block size when changing to use hsq for the SD cards, I think the
reason is the SD card works at a low speed on my platform, and most of
time is spent in the hardware. But we can see some obvious improvements
when enabling the packed request based on hsq, that's why we still add hsq
support for the SD cards.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/0065b4631fef2d61c3b89d14a4ea4f2b7499ea56.1581478568.git.baolin.wang7@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sd.c