dmaengine: IOATDMA: Allocate DMA descriptor ring in contig DMA memory
authorDave Jiang <dave.jiang@intel.com>
Wed, 10 Feb 2016 22:00:32 +0000 (15:00 -0700)
committerVinod Koul <vinod.koul@intel.com>
Mon, 15 Feb 2016 17:36:53 +0000 (23:06 +0530)
commitdd4645ebb7d100bb04ba38ec58b499cbe95322fa
tree3d1a8fff4a89b359952d77249dcccc5a9cc9276c
parentcd60cd96137f6cb3ea82cace9225626619e7a52d
dmaengine: IOATDMA: Allocate DMA descriptor ring in contig DMA memory

Future IOATDMA hardware will take advantage of descriptors residing in
contiguous memory. Setting the descriptor ring in max config DMA memory
of 2MB. Each channel will need 2 of these chunks. This should provide 64k
of 64B descriptors.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h
drivers/dma/ioat/hw.h
drivers/dma/ioat/init.c