1
0
Fork 0
alistair23-linux/drivers/fpga
Jason Gunthorpe baa6d39663 fpga: Add scatterlist based programming
Requiring contiguous kernel memory is not a good idea, this is a limited
resource and allocation can fail under normal work loads.

This introduces a .write_sg op that supporting drivers can provide
to DMA directly from dis-contiguous memory and a new entry point
fpga_mgr_buf_load_sg that users can call to directly provide page
lists.

The full matrix of compatibility is provided, either the linear or sg
interface can be used by the user with a driver supporting either
interface.

A notable change for drivers is that the .write op can now be called
multiple times.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Acked-by: Alan Tull <atull@opensource.altera.com>
Acked-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-10 15:20:44 +01:00
..
Kconfig fpga: Add COMPILE_TEST to all drivers 2016-11-29 15:51:44 -06:00
Makefile fpga-manager: Add Socfpga Arria10 support 2016-11-10 17:03:36 +01:00
altera-fpga2sdram.c ARM: socfpga: checking the wrong variable 2016-11-17 08:14:55 +01:00
altera-freeze-bridge.c fpga: add altera freeze bridge support 2016-11-10 17:03:36 +01:00
altera-hps2fpga.c ARM: socfpga: fpga bridge driver support 2016-11-10 17:03:36 +01:00
fpga-bridge.c fpga: add fpga bridge framework 2016-11-10 17:03:35 +01:00
fpga-mgr.c fpga: Add scatterlist based programming 2017-02-10 15:20:44 +01:00
fpga-region.c fpga: fpga-region: device tree control for FPGA 2016-11-10 17:03:35 +01:00
socfpga-a10.c fpga: Clarify how write_init works streaming modes 2016-11-29 15:51:49 -06:00
socfpga.c fpga-mgr: add fpga image information struct 2016-11-10 17:03:35 +01:00
zynq-fpga.c fpga zynq: Check the bitstream for validity 2017-02-10 15:20:44 +01:00