diff options
author | Sudeep Dutt <sudeep.dutt@intel.com> | 2015-09-29 18:16:19 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 12:54:54 +0100 |
commit | 564c8d8dfc39638978ac37d37f61733240f31a36 (patch) | |
tree | 19d428166bf32aa08ee8901f5cf6baeca6d8b269 /security/lsm_audit.c | |
parent | 7cc31cd27752e5e92f968e39095c4ea9d78c758e (diff) | |
download | op-kernel-dev-564c8d8dfc39638978ac37d37f61733240f31a36.zip op-kernel-dev-564c8d8dfc39638978ac37d37f61733240f31a36.tar.gz |
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 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions