kernel_optimize_test/drivers/mmc/host
Dan Williams 6f49a57aa5 dmaengine: up-level reference counting to the module level
Simply, if a client wants any dmaengine channel then prevent all dmaengine
modules from being removed.  Once the clients are done re-enable module
removal.

Why?, beyond reducing complication:
1/ Tracking reference counts per-transaction in an efficient manner, as
   is currently done, requires a complicated scheme to avoid cache-line
   bouncing effects.
2/ Per-transaction ref-counting gives the false impression that a
   dma-driver can be gracefully removed ahead of its user (net, md, or
   dma-slave)
3/ None of the in-tree dma-drivers talk to hot pluggable hardware, but
   if such an engine were built one day we still would not need to notify
   clients of remove events.  The driver can simply return NULL to a
   ->prep() request, something that is much easier for a client to handle.

Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-01-06 11:38:14 -07:00
..
at91_mci.c mmc: at91_mci: reorder timer setup and mmc_add_host() call 2008-11-30 23:52:44 +01:00
atmel-mci-regs.h
atmel-mci.c dmaengine: up-level reference counting to the module level 2009-01-06 11:38:14 -07:00
au1xmmc.c
imxmmc.c imxmmc: use readl/writel 2008-12-16 14:58:17 +01:00
imxmmc.h imxmmc: use readl/writel 2008-12-16 14:58:17 +01:00
Kconfig
Makefile mmc_spi: Add support for OpenFirmware bindings 2008-12-31 19:01:55 +01:00
mmc_spi.c mmc_spi: Add support for OpenFirmware bindings 2008-12-31 19:01:55 +01:00
mmci.c [ARM] amba drivers: don't pass a consumer clock name for devices with unique clocks 2008-11-30 17:38:14 +00:00
mmci.h
of_mmc_spi.c mmc_spi: Add support for OpenFirmware bindings 2008-12-31 19:01:55 +01:00
omap.c omap mmc: Add low-level initialization for hsmmc controller 2008-12-10 17:37:17 -08:00
pxamci.c pxamci: fix dma_unmap_sg length 2008-12-31 18:57:02 +01:00
pxamci.h
ricoh_mmc.c ricoh_mmc: Handle newer models of Ricoh controllers 2008-12-31 18:18:13 +01:00
s3cmci.c [ARM] S3C24XX: Move mci.h to arch/arm/plat-s3c24xx/include/plat 2008-10-30 10:17:16 +00:00
s3cmci.h s3cmci: Support transfers which are not multiple of 32 bits. 2008-10-15 18:05:14 +02:00
sdhci-pci.c pci: use pci_ioremap_bar() in drivers/mmc 2008-12-31 18:18:11 +01:00
sdhci.c sdhci: handle built-in sdhci with modular leds class 2008-12-31 18:18:13 +01:00
sdhci.h sdhci: activate led support also when module 2008-12-31 18:18:11 +01:00
sdricoh_cs.c Merge branch 'master' of ../mmc 2008-12-31 19:56:05 +01:00
tifm_sd.c mmc: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-08 21:37:46 +01:00
tmio_mmc.c drivers/mmc: Move a dereference below a NULL test 2008-12-31 18:18:14 +01:00
tmio_mmc.h
wbsd.c
wbsd.h