plpks_populate_fdt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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:


🌈 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