Page MenuHomeFreeBSD

[new driver] Intel Stratix10 (S10) quad-core ARM64 and FPGA fabric.
ClosedPublic

Authored by br on Aug 28 2019, 4:01 PM.
Tags
None
Referenced Files
F106598020: D21454.diff
Thu, Jan 2, 11:36 AM
Unknown Object (File)
Wed, Dec 11, 7:39 PM
Unknown Object (File)
Wed, Dec 4, 9:39 PM
Unknown Object (File)
Tue, Dec 3, 5:56 PM
Unknown Object (File)
Nov 1 2024, 11:49 AM
Unknown Object (File)
Sep 20 2024, 10:56 PM
Unknown Object (File)
Sep 19 2024, 4:49 AM
Unknown Object (File)
Sep 18 2024, 7:13 AM
Subscribers

Details

Summary

This adds support for Intel Stratix10 (S10) platform.

Intel S10 is a quad-core ARM64 and FPGA fabric.

This creates two character devices: /dev/fpga0 and /dev/fpga_partial0 for a full and partial FPGA programming respectively.

Test Plan

Program FPGA with a valid bitfile.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/arm64/intel/stratix10-soc-fpga-mgr.c
109 ↗(On Diff #61401)

What happens if we open the device then fork? Both the parent and child will have the device open, but sc->busy will be 1, then set to 0 when one closes it.

Check if device is opened before writing to it or closing it. This could happen if user process forks.

br marked an inline comment as done.Sep 3 2019, 5:41 PM
br added inline comments.
sys/arm64/intel/stratix10-soc-fpga-mgr.c
109 ↗(On Diff #61401)

Thank you Andy I added a check if device is opened before writing to it or closing it

linimon retitled this revision from Intel Stratix10 FPGA to [new driver] Intel Stratix10 (S10) quad-core ARM64 and FPGA fabric..Sep 6 2019, 12:08 AM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 13 2019, 4:51 PM
This revision was automatically updated to reflect the committed changes.
br marked an inline comment as done.