of_fpga_reg...fy_pre_apply(9)
π of_fpga_region_notify_pre_apply β Kernel API Manual β¨
okay bestie, buckle up, because this one is literally the bouncer at the FPGA overlay club π
β¨ NAME β¨
of_fpga_region_notify_pre_apply β the pre-apply overlay notification, aka the "wait, let me check your ID first" of FPGA region land π«Ά
πΈ SYNOPSIS πΈ
int of_fpga_region_notify_pre_apply(struct fpga_region *region,
struct of_overlay_notify_data *nd);
π¦ ARGUMENTS π¦
regionβ the FPGA region that the overlay was applied to. this is the main character of the whole operation πndβ the overlay notification data. the little info packet riding along with the notification π
π DESCRIPTION π
so the way this works is: this function gets called when an overlay that's targeted to an FPGA Region is about to be applied. like, it hasn't happened yet, we're in the pre-game era β
it parses the overlay for properties that influence how the FPGA will be programmed, and it does some checking. yes, there is a vibe check π₯
if the checks pass β it programs the FPGA. slay, green light, go π
if the checks fail β the overlay is rejected and does not get added to the live tree. no cap, it's just not happening, the door is closed π
π RETURN π
0for success π- a negative error code for failure π
π SEE ALSO π
Kernel file ./drivers/fpga/of-fpga-region.c, plus the whole friend group:
of_fpga_region_find(9)of_fpga_region_get_mgr(9)of_fpga_region_get_bridges(9)child_regions_with_firmware(9)of_fpga_region_parse_ov(9)of_fpga_region_notify_post_remove(9)of_fpga_region_notify(9)of_fpga_region_init(9)
and that's the tea π this page lives in ./drivers/fpga, dated October 2026, and you can find it filed under of_fpga_reg...fy_pre_apply(9) β mwah, ily, go read the kernel source π§π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms