]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit65ff1d24820f66b4764c18ba630fcaccf06ff16c
treedc0ef153c71bfdfbfe2694d4d68ae09fc3b84026
parent6b994f7394cc21cc79bc63ca1b4b980bc7ab6ea5
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