]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: Convert from tasklet to BH workqueue
authorAllen Pais <allen.lkml@gmail.com>
Mon, 1 Jul 2024 10:07:33 +0000 (03:07 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 Jul 2024 09:41:30 +0000 (11:41 +0200)
commit921c87ba3893b5d3608e7f248366266b40b86c75
tree46d8d628a666d161233a05c9a7a2fd953c9d226c
parent85683fb39d9b671620b5a9343fab3356e486a9a6
mmc: Convert from tasklet to BH workqueue

The only generic interface to execute asynchronously in the BH context is
tasklet; however, it's marked deprecated and has some design flaws. To
replace tasklets, BH workqueue support was recently added. A BH workqueue
behaves similarly to regular workqueues except that the queued work items
are executed in the BH context.

This patch converts drivers/mmc/* from tasklet to BH workqueue.

Based on the work done by Tejun Heo <tj@kernel.org>

Tested-by: Christian Loehle <christian.loehle@arm.com>
Tested-by: Aubin Constans <aubin.constans@microchip.com>
Acked-by: Aubin Constans <aubin.constans@microchip.com>
Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Allen Pais <allen.lkml@gmail.com>
Link: https://lore.kernel.org/r/20240701100736.4001658-1-allen.lkml@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
13 files changed:
drivers/mmc/host/atmel-mci.c
drivers/mmc/host/au1xmmc.c
drivers/mmc/host/cb710-mmc.c
drivers/mmc/host/cb710-mmc.h
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h
drivers/mmc/host/omap.c
drivers/mmc/host/sdhci-bcm-kona.c
drivers/mmc/host/tifm_sd.c
drivers/mmc/host/uniphier-sd.c
drivers/mmc/host/via-sdmmc.c
drivers/mmc/host/wbsd.c
drivers/mmc/host/wbsd.h