linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv1 0/2] Add streaming support for base firmware and fpga-mgr
@ 2017-04-21 19:22 yi1.li
  2017-04-21 19:22 ` [PATCHv1 1/2] firmware: Add streaming support yi1.li
  2017-04-21 19:22 ` [PATCHv1 2/2] fpga-mgr: add " yi1.li
  0 siblings, 2 replies; 3+ messages in thread
From: yi1.li @ 2017-04-21 19:22 UTC (permalink / raw)
  To: gregkh, wagi, dwmw2, rafal, arend.vanspriel, rjw, moritz.fischer,
	pmladek, johannes.berg, emmanuel.grumbach, luciano.coelho, kvalo,
	luto, takahiro.akashi, dhowells, pjones, mcgrof, atull
  Cc: linux-kernel, linux-fpga, Yi Li

From: Yi Li <yi1.li@linux.intel.com>

As the FPGA hardware advances, the bitstream image size grows. It could be an issue for kernel to allocate big buffers to load the whole firmware file. Here is an attempt to load the bitstream file into 4KB buffer and program the FPGA in a streaming mode. The streaming support is added in the driver_data_request_sync API on Luis R. Rodriguez's v6 branch. https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20170329-driver-data-v2-try3, which is sent to this list for review on March/29 [PATCH v6 0/5] firmware: add driver data API.
It should not be a performance hit for FPGA programing since the majority of time spend is with the FPGA CvP/PR-IP interface.

Yi Li (2):
  firmware: Add streaming support
  fpga-mgr: add streaming support

 drivers/base/firmware_class.c | 119 +++++++++++++++++++++++++++++++++++++++++-
 drivers/fpga/fpga-mgr.c       |  96 ++++++++++++++++++++++++++++++++++
 include/linux/driver_data.h   |  13 +++++
 include/linux/fpga/fpga-mgr.h |   4 ++
 4 files changed, 231 insertions(+), 1 deletion(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-21 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-21 19:22 [PATCHv1 0/2] Add streaming support for base firmware and fpga-mgr yi1.li
2017-04-21 19:22 ` [PATCHv1 1/2] firmware: Add streaming support yi1.li
2017-04-21 19:22 ` [PATCHv1 2/2] fpga-mgr: add " yi1.li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).