[PATCH v3 0/5] Add OFS support for DFL driver

From: Tianfei zhang
Date: Tue Mar 01 2022 - 01:24:52 EST


This is v3 patchset adding OFS (Open FPGA stack) support for
DFL driver. OFS is a collection of RTL and open software providing
interface to access the instantiated RTL easily in FPGA. OFS
leverages the DFL for the implementation of the FPGA RTL design.

Patch 1, allows for ports without specific bar space.
Patch 2, introduces features in dfl_fpga_cdev after DFL enumeration.
On OFS, we will add more extensions or features in DFL in
future, so adding a new member "features"in dfl_fpga_cdev.
Patch 3, fixs VF creation in "Multiple VFs per PR slot" and legacy model.
Patch 4, handles dfl's starting with AFU and allows for VFs to be created.
Patch 5, adds architecture description about OFS support for DFL
in documentation.

Changelog v2 -> v3:
- no code change, just change the name from IOFS to OFS.

Changelog v1 -> v2:
- Introducing a new member "features" in dfl_fpga_cdev for feature
control.
- Adding new flag DFL_FEAT_PORT_CONNECTED_AFU for OFS legacy model.
- Updates the documentation for the access models about AFU in OFS.
- Drop the PCI PID patch and will send it later.

Matthew Gerlach (2):
fpga: dfl: Allow for ports without specific bar space.
fpga: dfl: Handle dfl's starting with AFU

Tianfei zhang (3):
fpga: dfl: add features in dfl_fpga_cdev
fpga: dfl: fix VF creation in OFS
Documentation: fpga: dfl: add description of OFS

Documentation/fpga/dfl.rst | 113 +++++++++++++++++++++++++++++++++++++
drivers/fpga/dfl-pci.c | 13 ++++-
drivers/fpga/dfl.c | 38 ++++++++-----
drivers/fpga/dfl.h | 6 ++
4 files changed, 155 insertions(+), 15 deletions(-)

--
2.26.2