Re: [PATCH v3 fpga 4/4] fpga zynq: Use the scatterlist interface

2017-01-28 Thread Moritz Fischer
Hi Jason, On Fri, Jan 6, 2017 at 10:14 PM, Jason Gunthorpe wrote: > This allows the driver to avoid a high order coherent DMA allocation > and memory copy. With this patch it can DMA directly from the kernel > pages that the bitfile is stored in. > > Since this is now a gather DMA operation the d

[PATCH v3 fpga 4/4] fpga zynq: Use the scatterlist interface

2017-01-06 Thread Jason Gunthorpe
This allows the driver to avoid a high order coherent DMA allocation and memory copy. With this patch it can DMA directly from the kernel pages that the bitfile is stored in. Since this is now a gather DMA operation the driver uses the ISR to feed the chips DMA queue with each entry from the SGL.