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
Unknown Object (File)
Thu, Oct 9, 3:35 AM
Unknown Object (File)
Wed, Oct 8, 1:49 AM
Unknown Object (File)
Mon, Oct 6, 11:23 PM
Unknown Object (File)
Wed, Sep 24, 1:09 AM
Unknown Object (File)
Mon, Sep 22, 10:11 PM
Unknown Object (File)
Mon, Sep 22, 9:36 PM
Unknown Object (File)
Mon, Sep 22, 3:45 PM
Unknown Object (File)
Mon, Sep 22, 9:28 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.