summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorSudeep Dutt <sudeep.dutt@intel.com>2015-09-30 01:16:19 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 11:54:54 (GMT)
commit564c8d8dfc39638978ac37d37f61733240f31a36 (patch)
tree19d428166bf32aa08ee8901f5cf6baeca6d8b269 /samples
parent7cc31cd27752e5e92f968e39095c4ea9d78c758e (diff)
downloadlinux-564c8d8dfc39638978ac37d37f61733240f31a36.tar.xz
misc: mic: SCIF fence
This patch implements the fence APIs required to synchronize DMAs. SCIF provides an interface to return a "mark" for all DMAs programmed at the instant the API was called. Users can then "wait" on the mark provided previously by blocking inside the kernel. Upon receipt of a DMA completion interrupt the waiting thread is woken up. There is also an interface to signal DMA completion by polling for a location to be updated via a "signal" cookie to avoid the interrupt overhead in the mark/wait interface. SCIF allows programming fences on both the local and the remote node for both the mark/wait or the fence signal APIs. Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Nikhil Rao <nikhil.rao@intel.com> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@intel.com> Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions