Skip to content

FPGA DFL updates

Wu Hao linux-api linux-doc linux-fpga lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest9 patches 8 repliesIn review
  2. v412 patches 11 repliesSuperseded
  3. v312 patches 12 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v211 patches3 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9fpga: dfl: make init callback optionaldrivers/fpga/dfl.c+6 -42 replies
2/9fpga: dfl: fme: convert platform_driver to use dev_groupsdrivers/fpga/dfl-fme-main.c+2 -271 reply
3/9fpga: dfl: afu: convert platform_driver to use dev_groupsdrivers/fpga/dfl-afu-main.c+36 -332 replies
4/9fpga: dfl: afu: add userclock sysfs interfaces.Documentation/ABI/testing/sysfs-platform-dfl-port drivers/fpga/dfl-afu-main.c drivers/fpga/dfl.h+147 -10 replies
5/9fpga: dfl: afu: expose __afu_port_enable/disable function.drivers/fpga/dfl-afu-main.c drivers/fpga/dfl-afu.h+19 -110 replies
6/9fpga: dfl: afu: add error reporting support.Documentation/ABI/testing/sysfs-platform-dfl-port drivers/fpga/Makefile drivers/fpga/dfl-afu-error.c +2 more+266 -00 replies
7/9fpga: dfl: afu: add STP (SignalTap) supportdrivers/fpga/dfl-afu-main.c+25 -00 replies
8/9fpga: dfl: fme: add global error reporting supportDocumentation/ABI/testing/sysfs-platform-dfl-fme drivers/fpga/Makefile drivers/fpga/dfl-fme-error.c +2 more+440 -30 replies
9/9Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.Documentation/fpga/dfl.rst+105 -00 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchAlan TullMoritz Fischer
1/9A-b
2/9A-b
3/9A-b
4/9A-b
5/9A-b A-b
6/9A-b
7/9A-b A-b
8/9A-b
9/9A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/9] FPGA DFL updates

Hi Greg,

This is v5 patchset which adds more features to FPGA DFL. Marjor changes against v4 are sysfs related code rework to address comments on v4.

Please help to take a look. Thanks!

Main changes from v4:
- convert code to use dev_groups for sysfs entries (#2, #3, #4, #6, #8).
- clean up for empty init function after remove sysfs add/remove (#1).
- introduce is_visible for sysfs groups (#3, #4, #6, #8).
- remove revision sysfs entries (#4, #6, #8).
- improve naming on shared functions (#5).
- reorganize sysfs entries for port and fme error reporting (#6, #8).

Main changes from v3:
- drop avx512 partail reconfiguration patch for now.
- split dfl_fpga_cdev_config_port to 2 functions *_release/assign_port

    (#1).
  - split __dfl_fpga_cdev_config_port_vf into 2 functions with locking
    added (#2).

- improve description in sysfs doc to avoid misunderstanding (#3).
- switch to boolean in sysfs entry store function (#3).
- remove dev_dbg in init/uinit callback function (#7, #9, #11).
- remove uinit callback which does does nothing (#8, #9)

Main changes from v2:
- update kernel version/date in sysfs doc (patch #4, #5, #8, #10, #11).
- add back Documentation patch (patch #12).

Main changes from v1:
- remove DRV/MODULE_VERSION modifications. (patch #1, #3, #4, #6)
- remove argsz from new ioctls. (patch #2)
- replace sysfs_create/remove_* with device_add/remove_* for sysfs entries.

    (patch #5, #8, #11)

Wu Hao (9):
fpga: dfl: make init callback optional
fpga: dfl: fme: convert platform_driver to use dev_groups
fpga: dfl: afu: convert platform_driver to use dev_groups
fpga: dfl: afu: add userclock sysfs interfaces.
fpga: dfl: afu: expose __afu_port_enable/disable function.
fpga: dfl: afu: add error reporting support.
fpga: dfl: afu: add STP (SignalTap) support
fpga: dfl: fme: add global error reporting support
Documentation: fpga: dfl: add descriptions for virtualization and new
interfaces.

 Documentation/ABI/testing/sysfs-platform-dfl-fme  |  62 ++++
 Documentation/ABI/testing/sysfs-platform-dfl-port |  53 ++++
 Documentation/fpga/dfl.rst                        | 105 +++++++
 drivers/fpga/Makefile                             |   3 +-
 drivers/fpga/dfl-afu-error.c                      | 230 ++++++++++++++
 drivers/fpga/dfl-afu-main.c                       | 230 +++++++++++---
 drivers/fpga/dfl-afu.h                            |   9 +
 drivers/fpga/dfl-fme-error.c                      | 359 ++++++++++++++++++++++
 drivers/fpga/dfl-fme-main.c                       |  42 +--
 drivers/fpga/dfl-fme.h                            |   3 +
 drivers/fpga/dfl.c                                |  10 +-
 drivers/fpga/dfl.h                                |   9 +
 12 files changed, 1041 insertions(+), 74 deletions(-)
 create mode 100644 drivers/fpga/dfl-afu-error.c
 create mode 100644 drivers/fpga/dfl-fme-error.c
Signature · 1 line
1.8.3.1