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)
Feb 3 2024, 2:45 PM
Unknown Object (File)
Dec 20 2023, 7:30 AM
Unknown Object (File)
Dec 20 2023, 7:00 AM
Unknown Object (File)
Dec 3 2023, 6:18 PM
Unknown Object (File)
Sep 30 2023, 4:12 AM
Unknown Object (File)
Sep 3 2023, 4:24 AM
Unknown Object (File)
Sep 3 2023, 4:24 AM
Unknown Object (File)
Sep 3 2023, 4:24 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.