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
F84391336: D21454.id62039.diff
Thu, May 23, 5:47 AM
F84391265: D21454.id.diff
Thu, May 23, 5:46 AM
F84391242: D21454.id61611.diff
Thu, May 23, 5:46 AM
F84380669: D21454.id61401.diff
Thu, May 23, 2:11 AM
Unknown Object (File)
Mon, May 13, 9:57 AM
Unknown Object (File)
Feb 3 2024, 2:45 PM
Unknown Object (File)
Dec 20 2023, 7:30 AM
Unknown Object (File)
Dec 20 2023, 7:00 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

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/arm64/intel/stratix10-soc-fpga-mgr.c
110

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
110

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.