OSDN Git Service

mei: hbm: define dma ring setup protocol
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 31 Jul 2018 06:35:34 +0000 (09:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 08:18:30 +0000 (10:18 +0200)
commitee7aba5aba70dd98fc05697723167ebb858e7aba
treedc0ef153c71bfdfbfe2694d4d68ae09fc3b84026
parent98e70866aacb1fcaa7b710fc6bca9862bf47421a
mei: hbm: define dma ring setup protocol

The protocol defines how to setup an I/O ring on top of host
memory to utilize the device DMA engine for faster transport.

Three memory buffers are allocated.
A Host circular buffer for from the Host to Device communication.
A Device circular buffer for from Device to the Host communication.
And finally a Control block where the pointers for the both
circular buffers are managed.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hw.h