plpks_populate_fdt(9)
π plpks_populate_fdt π
okay bestie so you found yourself in the plpks corner of the kernel, and this one is a function from the Kernel API Manual, section 9. buckle up, it's cute and it's short and it's literally all about handing your PLPKS password over to the device tree so kexec can do its thing. π
β¨ NAME β¨
plpks_populate_fdt β populates the FDT with the PLPKS password to prepare for kexec π«Ά
β¨ SYNOPSIS β¨
int plpks_populate_fdt (void *fdt );
β¨ ARGUMENTS β¨
fdtβ pointer to the device tree blob πΈ (yes, that FDT, the flattened one, the whole vibe)
π DESCRIPTION π
so here's the tea β β first it confirms that the chosen node actually exists (vibe check passed β
), and once that's confirmed, it invokes fdt_setprop to populate the device tree with the PLPKS password so everything is ready for kexec. that's it. that's the whole function. iconic behaviour, no notes. π
β RETURN β
On success 0 is returned. if notβ¦ a negative value π (not me getting a negative return, couldn't be me π).
π¦ SEE ALSO π¦
Kernel file ./arch/powerpc/platforms/pseries/plpks.c β the mothership, go read it iykyk π
and the whole plpks friend group, all in section 9, all slaying in their own way:
plpks_get_version(9)plpks_get_objoverhead(9)plpks_get_maxpwsize(9)plpks_get_maxobjectsize(9)plpks_get_maxobjectlabelsize(9)plpks_get_totalsize(9)plpks_get_usedspace(9)plpks_get_supportedpolicies(9)plpks_get_maxlargeobjectsize(9)plpks_get_signedupdatealgorithms(9)plpks_get_wrappingfeatures(9)plpks_get_passwordlen(9)plpks_is_available(9)plpks_signed_update_var(9)plpks_write_var(9)plpks_remove_var(9)plpks_wrapping_is_supported(9)plpks_gen_wrapping_key(9)plpks_wrap_object(9)plpks_unwrap_object(9)plpks_read_os_var(9)plpks_read_fw_var(9)plpks_read_bootloader_var(9)plpks_early_init_devtree(9)
π that's the whole page bestie, go populate some device trees π
π one tiny thing before you close the tab: this page lives in ./arch/powerpc/platforms/pseries, and it's dated October 2026 β so like, future energy fr fr. mwah, bye πβ¨
π¦ 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