mmc: core: Introduce host claiming by context
Currently the host can be claimed by a task. Change this so that the host can be claimed by a context that may or may not be a task. This provides for the host to be claimed by a block driver queue to support blk-mq, while maintaining compatibility with the existing use of mmc_claim_host(). Signed-off-by:Adrian Hunter <adrian.hunter@intel.com> Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org>
Showing
- drivers/mmc/core/block.c 2 additions, 2 deletionsdrivers/mmc/core/block.c
- drivers/mmc/core/core.c 41 additions, 7 deletionsdrivers/mmc/core/core.c
- drivers/mmc/core/core.h 5 additions, 4 deletionsdrivers/mmc/core/core.h
- drivers/mmc/core/mmc.c 2 additions, 2 deletionsdrivers/mmc/core/mmc.c
- drivers/mmc/core/sd.c 2 additions, 2 deletionsdrivers/mmc/core/sd.c
- drivers/mmc/core/sdio_irq.c 2 additions, 1 deletiondrivers/mmc/core/sdio_irq.c
- include/linux/mmc/host.h 6 additions, 1 deletioninclude/linux/mmc/host.h
Loading
Please register or sign in to comment