diff options
author | Sudeep Dutt <sudeep.dutt@intel.com> | 2015-04-29 15:32:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 22:13:36 +0300 |
commit | 9ad8b64820c92704326148fe9138b7ece181b440 (patch) | |
tree | c3a455367dee58296663920d9baed86bc699b066 /drivers/power/ipaq_micro_battery.c | |
parent | 7df20f2d893db42eaa1ea1e30a2573c971ec9238 (diff) | |
download | linux-9ad8b64820c92704326148fe9138b7ece181b440.tar.xz |
misc: mic: SCIF ring buffer infrastructure
SCIF ring buffer is a single producer, single consumer byte stream
ring buffer optimized for avoiding reads across the PCIe bus while
adding the required barriers and hardware workarounds for the MIC
Coprocessor. The ring buffer is used to implement a receive queue for
SCIF driver messaging between two nodes and for byte stream messaging
between SCIF endpoints. The existing in-kernel ring buffer was not
reused since it has not been designed for our use across the PCIe bus
where each node runs an independent OS. Each SCIF node has a receive
queue for every other SCIF node, and each connected endpoint has a
receive queue for messages from its peer. This pair of receive
queues is referred to as a SCIF queue pair.
Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/power/ipaq_micro_battery.c')
0 files changed, 0 insertions, 0 deletions