mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: yi1.li@linux.intel.com
To: gregkh@linuxfoundation.org, wagi@monom.org, dwmw2@infradead.org,
	rafal@milecki.pl, arend.vanspriel@broadcom.com,
	rjw@rjwysocki.net, moritz.fischer@ettus.com, pmladek@suse.com,
	johannes.berg@intel.com, emmanuel.grumbach@intel.com,
	luciano.coelho@intel.com, kvalo@codeaurora.org, luto@kernel.org,
	takahiro.akashi@linaro.org, dhowells@redhat.com,
	pjones@redhat.com, mcgrof@kernel.org, atull@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org,
	Yi Li <yi1.li@linux.intel.com>
Subject: [PATCHv1 0/2] Add streaming support for base firmware and fpga-mgr
Date: Fri, 21 Apr 2017 14:22:20 -0500	[thread overview]
Message-ID: <1492802542-1408-1-git-send-email-yi1.li@linux.intel.com> (raw)

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

             reply	other threads:[~2017-04-21 19:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-21 19:22 yi1.li [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1492802542-1408-1-git-send-email-yi1.li@linux.intel.com \
    --to=yi1.li@linux.intel.com \
    --cc=arend.vanspriel@broadcom.com \
    --cc=atull@kernel.org \
    --cc=dhowells@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=emmanuel.grumbach@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=johannes.berg@intel.com \
    --cc=kvalo@codeaurora.org \
    --cc=linux-fpga@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luciano.coelho@intel.com \
    --cc=luto@kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=moritz.fischer@ettus.com \
    --cc=pjones@redhat.com \
    --cc=pmladek@suse.com \
    --cc=rafal@milecki.pl \
    --cc=rjw@rjwysocki.net \
    --cc=takahiro.akashi@linaro.org \
    --cc=wagi@monom.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®