mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCHv2 0/2] Enable pre-allocated buffer support for driver_data
@ 2017-05-20  6:48 yi1.li
  2017-05-20  6:48 ` [PATCHv2 1/2] firmware: Enable pre-allocated buffer support in driver_data yi1.li
  2017-05-20  6:48 ` [PATCHv2 2/2] test: add pre-allocated buffer to driver_data tester yi1.li
  0 siblings, 2 replies; 3+ messages in thread
From: yi1.li @ 2017-05-20  6:48 UTC (permalink / raw)
  To: mcgrof, atull, gregkh, wagi, dwmw2, rafal, arend.vanspriel, rjw,
	moritz.fischer, pmladek, johannes.berg, emmanuel.grumbach,
	luciano.coelho, kvalo, luto, takahiro.akashi, dhowells, pjones
  Cc: linux-kernel, linux-fpga, Yi Li

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

This series enables the equivalent pre-allocated buffer feature in 
request_firmware_into_buf to driver_data API, so caller can allocate
firmware data buffer and pass to driver_data. This will be used for
streaming support of driver_data, which allow caller to manage the size
and buffer of firmware streaming. 

Changes in v2:

  - Rebase to Luis R. Rodriguez's 20170501-driver-data-try2
    branch 
  - Move alloc_buf and alloc_buf_size to public driver_data_req_params
    structure.
  - Add self test cases.

Yi Li (2):
  firmware: Enable pre-allocated buffer support in driver_data
  test: add pre-allocated buffer to driver_data tester

 drivers/base/firmware_class.c                   | 21 +++-----
 include/linux/driver_data.h                     |  5 ++
 lib/test_driver_data.c                          | 68 ++++++++++++++++++++++++-
 tools/testing/selftests/firmware/driver_data.sh | 36 +++++++++++++
 4 files changed, 116 insertions(+), 14 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-05-20  6:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-20  6:48 [PATCHv2 0/2] Enable pre-allocated buffer support for driver_data yi1.li
2017-05-20  6:48 ` [PATCHv2 1/2] firmware: Enable pre-allocated buffer support in driver_data yi1.li
2017-05-20  6:48 ` [PATCHv2 2/2] test: add pre-allocated buffer to driver_data tester yi1.li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome