-
由 Siva Yerramreddy 提交于
This patch implements DMA Engine API for DMA controller on MIC X100 Coprocessors. DMA h/w is shared between host and card s/w. Channels 0 to 3 are used by host and 4 to 7 are used by card. Since the DMA device doesn't show up as PCIe device, a virtual bus called mic bus is created and virtual devices are added on that bus to follow device model. Allowed dma transfer directions are host to card, card to host and card to card. Reviewed-by: NAshutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: NNikhil Rao <nikhil.rao@intel.com> Reviewed-by: NSudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: NSiva Yerramreddy <yshivakrishna@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
95b4ecbf