https://www.phoronix.com/news/FPGA-User-Space-Interface-AMD Phoronix * Articles & Reviews * News Archive * Forums * Premium Ad-Free * Contact * Popular Categories * Close * * Articles & Reviews * News Archive * Forums * Premium * Contact * Categories Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals * [ ] [Search] Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 19+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium. AMD Proposes An FPGA Subsystem User-Space Interface For Linux Written by Michael Larabel in AMD on 4 January 2024 at 05:53 AM EST. 2 Comments AMD AMD engineers are proposing an FPGA Subsystem User-Space Interface to overcome current limitations of the Linux kernel's FPGA manager subsystem. AMD-Xilinx engineers are proposing a new sysfs interface for the FPGA subsystem that allows for more user-space control over FPGAs. The suggested interface would handle FPGA configuration, driver probe/ remove, bridges, Device Tree Overlay file support for re-programming an FPGA while the operating system is running, and other capabilities for user-space not currently presented by the mainline kernel. AMD Xilinx SoCs A "request for comments" issued on the Linux kernel mailing list explained: The existing FPGA manager subsystem didn't have any user space interface (other than the status/state in sysfs) in Kernel. Basically, FPGAs are semiconductor devices that can be reprogrammed for desired hardware functionality. FPGAs can be reprogrammed at runtime with different types of logic and IPs as per user need and hence there is a need to use device tree overlays for removing/updating/adding the devices at runtime for the IPs/controllers that are present in FPGA. But we don't have any user interface in kernel for updating the device tree at runtime. Sometime back there was a series sent by Pantelis Antoniou. This patch introduced a user interface configfs for Device Tree overlays, a method of dynamically altering the kernel's live Device Tree. However, this patch series was not accepted in mainline due to various concerns. One of the major valid concerns that were raised with this configfs interface was security as it opens up the interface to users for modifying the live device tree. So, in order to configure/program the FPGA devices, All the major vendors of FPGA are using this configfs series as out-of-tree patch for configuring the FPGAs and there was never an attempt to introduce a generic interface to configure/program the FPGA in upstream and hence upstream kernel ended up in not having proper support for FPGAs. This proposal from AMD hopes to standardize the FPGA subsystem user-space interface in a manner that is suitable for upstreaming into the mainline Linux kernel. We'll see where this work leads for improving FPGA support on Linux. 2 Comments Tweet [INS::INS] Related News New Linux Patch Officially Confirms AMD Family 26 As Being Zen 5 CPUs AMD Announces Automotive-Grade Ryzen Embedded V2000A Series AMD Address Translation Library "ATL" Coming With Linux 6.8 AMD CPU Use By Linux Gamers At ~70%, AMD openSIL, & AMD Laptops Topped 2023 AMD Ends Out 2023 Still Working To Get The Rest Of SEV-SNP Upstream In Linux AMD PMC Linux Driver Being Updated For Zen 5 CPUs About The Author Michael Larabel Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com. Popular News This Week KDE's Nate Graham On X11 Being A Bad Platform & The Wayland Future Nobara 39 Released - Customized Version Of Fedora Catering To Gamers/ Enthusiasts GNU Boot Drops Some Motherboards & CPU Code After Discovering Non-Free Bits Valve's Linux Contributions, Wayland & Open-Source NVIDIA Milestones Topped 2023 Raspberry Pi 5 & New AMD Ryzen CPUs Excited Linux Readers The Most In 2023 Mesa 23.3.2 Released With Plenty Of Bug Fixes For Closing Out 2023 Fedora 40 Looks To Provide Optimized x86_64 Binaries For Different HWCAPs Wayland Enjoyed Many Successes In 2023 Latest Linux News New Linux Patch Officially Confirms AMD Family 26 As Being Zen 5 CPUs Fedora 40 Moving Ahead In Beefing Up Its Security AMD RDNA3 Refresh Graphics Support May Be In Good Shape With Linux 6.7 AMD Announces Automotive-Grade Ryzen Embedded V2000A Series Linux 6.8 To Drop Old ARM11 MPCore CPU Support Ubuntu Looking At Discontinuing Its Source ISOs The Open-Source ATI R300 Graphics Driver Is Still Being Improved Upon In 2024 AMD Proposes An FPGA Subsystem User-Space Interface For Linux Glibc 2.39 Should Be Out On 1 February & Might Drop Itanium IA64 Linux Support Linux Mint 21.3 EDGE Moving To Linux 6.5 Due To Hardware Issues Microsoft Continued Advancing WSL2, Mesa & Its In-House Linux Distro In 2023 Show Your Support, Go Premium Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations. Latest Featured Articles GCC vs. Clang Compiler Performance On Intel Meteor Lake From Whiskey Lake To Meteor Lake: The Intel CPU Linux Performance Evolution Intel Integrated Graphics Performance From Gen9 To Meteor Lake Arc Graphics GCC 13 vs. Clang 17 Compiler Benchmarks, Early Clang 18 & GCC 14 Development Benchmarks Benchmarking The Experimental Ubuntu x86-64-v3 Build For Greater Performance On Modern CPUs Support Phoronix The mission at Phoronix since 2004 has centered around enriching the Linux hardware experience. In addition to supporting our site through advertisements, you can help by subscribing to Phoronix Premium. You can also contribute to Phoronix through a PayPal tip or tip via Stripe. Phoronix Media --------------------------------------------------------------------- * Contact * Michael Larabel * OpenBenchmarking.org Phoronix Premium --------------------------------------------------------------------- * Support Phoronix * While Having Ad-Free Browsing, * Single-Page Article Viewing Share --------------------------------------------------------------------- * Facebook * Twitter * Legal Disclaimer, Privacy Policy, Cookies | Contact * Copyright (c) 2004 - 2024 by Phoronix Media. * All trademarks used are properties of their respective owners. All rights reserved.