Skip to content

RFC Open source FPGA image header

Alan Tull lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5doc: fpga: add document for the fdt FPGA headerDocumentation/fpga/fpga-header.txt+103 -00 replies
2/5doc: fpga: add sysfs document for fpga regionDocumentation/ABI/testing/sysfs-class-fpga-region+7 -00 replies
3/5fpga: add dev to fpga_image_infodrivers/fpga/fpga-mgr.c drivers/fpga/of-fpga-region.c include/linux/fpga/fpga-mgr.h+16 -80 replies
4/5fpga-region: new function fpga_region_freedrivers/fpga/fpga-region.c drivers/fpga/of-fpga-region.c include/linux/fpga/fpga-region.h+23 -40 replies
5/5fpga-region support for fdt headers on fpga imagesdrivers/fpga/Kconfig drivers/fpga/fpga-region.c drivers/fpga/of-fpga-region.c +2 more+464 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/5] Open source FPGA image header

This patch set adds open source FPGA image headers. This allows FPGA FPGA image specific information to be added to the images themselves. The header format is a simplified form of u-boot FIT images and can be expanded as real use cases are raised. As all the FPGA kernel frameworks are intended to be vendor agnostic, so also is the header. As libfdt's licensing is permissive, this header is also intended to be useful for OS's other than Linux.

In February, there was a conversation on the linux-fpga mailing list where Moritz and Jason suggested headers, so with their permission I'll be happy to add 'Suggested-by'.

An API function and a sysfs interface are added for applying FPGA images to regions.

Patches 1-2 are documentation

Patches 3-4 are small API changes and could be rolled into my "non-DT
support for FPGA regions" patchset.

Patch 5 is the bulk of it.

todo: I've been working on scatter gather table support for this. It's not done yet, so I pulled it out for now.

This patch applies on top of my "non-DT support for FPGA regions" v3 patchset.

Alan Tull

Alan Tull (5):
doc: fpga: add document for the fdt FPGA header
doc: fpga: add sysfs document for fpga region
fpga: add dev to fpga_image_info
fpga-region: new function fpga_region_free fpga-region support for fdt headers on fpga images

 Documentation/ABI/testing/sysfs-class-fpga-region |   7 +
 Documentation/fpga/fpga-header.txt                | 103 +++++
 drivers/fpga/Kconfig                              |   7 +
 drivers/fpga/fpga-mgr.c                           |  14 +-
 drivers/fpga/fpga-region.c                        | 460 ++++++++++++++++++++++
 drivers/fpga/of-fpga-region.c                     |  16 +-
 include/linux/fpga/fpga-mgr.h                     |  13 +-
 include/linux/fpga/fpga-region.h                  |   3 +
 8 files changed, 612 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-fpga-region
 create mode 100644 Documentation/fpga/fpga-header.txt
Signature · 1 line
2.7.4