plpks_early_init_devtree(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– plpks_early_init_devtree(9) β€” Kernel API Manual ✨

okay so bestie, buckle up, because we're diving into the Kernel API Manual section 9 and this one's a little rescue mission 🫢


🌸 NAME 🌸

plpks_early_init_devtree β€” literally goes and grabs the PLPKS password out of the DT during early init, then wipes it clean 🧚


✨ SYNOPSIS ✨

void plpks_early_init_devtree (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments, babes. she takes nothing, she gives everything πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the situation. once a password is registered with the hypervisor, it cannot be cleared without rebooting the LPAR β€” that's just the rules, no cap 😭. so to keep using the PLPKS across kexec boots, we have to recover the previous password from the FDT. iconic behavior honestly πŸ‘‘

but it's not that simple, and there are a few challenges here, bestie:

  • we do not want the password visible to users πŸ™ˆ, so we need to clear it from the FDT.
  • this has to happen in early boot ⏰ β€” like, first-thing energy.
  • clearing it out of the FDT makes the FDT's checksum invalid πŸ’€, so we have to manually cause the checksum to be recalculated.

it's giving main-character bugfix energy fr fr πŸ”₯


🌈 SEE ALSO 🌈

Kernel file ./arch/powerpc/platforms/pseries/plpks.c πŸ“

and the whole plpks friend group, assembled πŸ‘‘:


lowkey obsessed with how many friends she has πŸ’œ

and that's the tea, bestie β˜• this page lives in ./arch/powerpc/platforms/pseries, dated October 2026, and it's your girl plpks_early_init_devtree(9) signing off πŸ˜˜πŸ’…βœ¨

πŸ“¦ where this page comes from