Skip to content

wrappers for fpga_manager_ops

[email protected] linux-arm-kernel linux-fpga lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 3 repliesIn review
  2. v37 patches 2 repliesSuperseded
  3. v2 posting 2/20 of 7 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/27 patches0 repliesSuperseded
v17 patches5 repliesSuperseded

v1 from the cover letter

commit subject,log

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7fpga-mgr: wrap the write_init() opdrivers/fpga/fpga-mgr.c+12 -32 replies
2/7fpga-mgr: make write_complete() op optionaldrivers/fpga/fpga-mgr.c drivers/fpga/zynqmp-fpga.c+23 -290 replies
3/7fpga-mgr: wrap the write() opdrivers/fpga/fpga-mgr.c+10 -50 replies
4/7fpga-mgr: wrap the status() opdrivers/fpga/fpga-mgr.c+8 -40 replies
5/7fpga-mgr: wrap the state() opdrivers/fpga/dfl-fme-mgr.c drivers/fpga/fpga-mgr.c drivers/fpga/stratix10-soc.c +1 more+9 -200 replies
6/7fpga-mgr: wrap the fpga_remove() opdrivers/fpga/fpga-mgr.c+7 -20 replies
7/7fpga-mgr: wrap the write_sg() opdrivers/fpga/fpga-mgr.c+9 -10 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/7] wrappers for fpga_manager_ops

From: Tom Rix <[email protected]>

As followup from
https://lore.kernel.org/linux-fpga/[email protected]/

Boards should not be required to have noop functions. So improve or create fpga-mgr wrappers for the fpga_manager_ops. Remove the noop functions.
Refactor fpga-mgr to use the wrappers.

Changes from

v1:
commit subject,log

v2:
rebase to next-20210623

v3:
remove mops check
add write_sg wrapper
drop 'fpga-mgr: collect wappers and change to inline'

Tom Rix (7):
fpga-mgr: wrap the write_init() op
fpga-mgr: make write_complete() op optional
fpga-mgr: wrap the write() op
fpga-mgr: wrap the status() op
fpga-mgr: wrap the state() op
fpga-mgr: wrap the fpga_remove() op
fpga-mgr: wrap the write_sg() op

 drivers/fpga/dfl-fme-mgr.c   |   6 --
 drivers/fpga/fpga-mgr.c      | 111 +++++++++++++++++++++++------------
 drivers/fpga/stratix10-soc.c |   6 --
 drivers/fpga/ts73xx-fpga.c   |   6 --
 drivers/fpga/zynqmp-fpga.c   |   7 ---
 5 files changed, 75 insertions(+), 61 deletions(-)
Signature · 1 line
2.26.3