linux_dsm_epyc7002/arch/arm/mach-msm
San Mehat 5b00f40f90 msm: Add 'execute' datamover callback
Based on a patch from Brent DeGraaf:

"The datamover supports channels which can be shared amongst devices.
As a result, the actual data transfer may occur some time after the
request is queued up. Some devices such as mmc host controllers
will timeout if a command is issued too far in advance of the actual
transfer, so if dma to other devices on the same channel is already
in progress or queued up, the added delay can cause pending transfers
to fail before they start. This change extends the api to allow a
user callback to be invoked just before the actual transfer takes
place, thus allowing actions directly associated with the dma
transfer, such as device commands, to be invoked with precise timing.
Without this mechanism, there is no way for a driver to realize
this timing. Also adds a user pointer to the command structure for use
by the caller to reference information that may be needed by the
callback routine for proper identification and processing associated
with that specific request. This change is necessary to fix problems
associated with excessive command timeouts and race conditions in the
mmc driver."

This patch also fixes all the callers of msm_dmov_enqueue_cmd() to
ensure their callback function is NULL.

Signed-off-by: San Mehat <san@google.com>
Cc: Brent DeGraaf <bdegraaf@quicinc.com>
Cc: Brian Swetland <swetland@google.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
2010-03-18 12:58:05 -07:00
..
include/mach msm: Add 'execute' datamover callback 2010-03-18 12:58:05 -07:00
board-dream.c msm: Add memory map for HTC Dream 2009-11-20 06:40:23 -08:00
board-dream.h msm: add minimal board file for HTC Dream device 2009-11-20 06:40:19 -08:00
board-halibut.c [ARM] msm: fix build errors 2009-01-28 10:19:52 +00:00
clock-7x01a.c [ARM] msm: clock: provide clk_*() api support for 2008-10-22 02:41:00 -07:00
clock.c [ARM] msm: clock: provide clk_*() api support for 2008-10-22 02:41:00 -07:00
clock.h [ARM] msm: clock: provide clk_*() api support for 2008-10-22 02:41:00 -07:00
devices.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
devices.h [ARM] msm: clean up iomap and devices 2008-10-22 02:40:59 -07:00
dma.c msm: Add 'execute' datamover callback 2010-03-18 12:58:05 -07:00
idle.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
io.c msm: make debugging UART (for DEBUG_LL) configurable 2009-11-20 06:40:05 -08:00
irq.c [ARM] msm: clean up iomap and devices 2008-10-22 02:40:59 -07:00
Kconfig msm: add minimal board file for HTC Dream device 2009-11-20 06:40:19 -08:00
Makefile msm: add minimal board file for HTC Dream device 2009-11-20 06:40:19 -08:00
Makefile.boot [ARM] msm: core platform support for ARCH_MSM7X00A 2008-01-26 14:39:14 +00:00
proc_comm.c [ARM] msm: add proc_comm support, necessary for clock and power control 2008-10-22 02:39:32 -07:00
proc_comm.h [ARM] msm: add proc_comm support, necessary for clock and power control 2008-10-22 02:39:32 -07:00
timer.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
vreg.c [ARM] msm: vreg interface to msm7k pmic 2008-10-22 02:41:00 -07:00