Skip to content

Add streaming support to driver_data API

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 6 repliesIn review

Changes in v2 from the cover letter

- Rebase to Luis R. Rodriguez's 20170501-driver-data-try2 branch
- Expended fw_get_filesystem_firmware function and added DRIVER_DATA_REQ_STREAMING flag for driver_data streaming mode.
- Add self test cases.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3firmware: Add streaming support for driver_data_request_sync APIdrivers/base/firmware_class.c include/linux/driver_data.h+91 -130 replies
2/3test: add streaming test to driver_data testerlib/test_driver_data.c tools/testing/selftests/firmware/driver_data.sh+110 -20 replies
3/3fpga_mgr: Add streaming support through the new driver_data APIdrivers/fpga/fpga-mgr.c include/linux/fpga/fpga-mgr.h+115 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/3] Add streaming support to driver_data API

From: Yi Li <[email protected]>

This series enables the streaming support on driver_data sync API and add self test and FPGA mgr to test/use stream firmware in 4KB trucks.

Changes in v2:

- Rebase to Luis R. Rodriguez's 20170501-driver-data-try2 branch
- Expended fw_get_filesystem_firmware function and added DRIVER_DATA_REQ_STREAMING flag for driver_data streaming mode.
- Add self test cases.

Yi Li (3):
firmware: Add streaming support for driver_data_request_sync API
test: add streaming test to driver_data tester
fpga_mgr: Add streaming support through the new driver_data API

 drivers/base/firmware_class.c                   |  94 +++++++++++++++++---
 drivers/fpga/fpga-mgr.c                         | 111 ++++++++++++++++++++++++
 include/linux/driver_data.h                     |  10 +++
 include/linux/fpga/fpga-mgr.h                   |   4 +
 lib/test_driver_data.c                          |  80 ++++++++++++++++-
 tools/testing/selftests/firmware/driver_data.sh |  32 +++++++
 6 files changed, 316 insertions(+), 15 deletions(-)
Signature · 1 line
2.7.4