plpks_get_supportedpolicies(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay bestie, welcome to the Kernel API Manual corner πŸ’… this entry is short, iconic, and lowkey all about asking the hypervisor which policies it supports. no cap. ✨


🌸 NAME 🌸

plpks_get_supportedpolicies β€” Get a bitmask of the policies supported by the hypervisor. periodt. πŸ’œ

✨ SYNOPSIS ✨

u32 plpks_get_supportedpolicies (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. literally none. the function said β€œi need zero things” and meant it. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the tea: when H_PKS_GET_CONFIG HCALL runs successfully during initialization, it reads a bitmask of the policies supported by the hypervisor into the file local static supportedpolicies variable. that’s the whole plot. main character energy for a static variable, honestly. πŸ’œ

bestie note: the bitmask is the bitmask β€” no extra decoding on this page, iykyk. πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

On success, the bitmask of the policies supported by the hypervisor are returned, 0 if not. that’s it. no cap. ⭐

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./arch/powerpc/platforms/pseries/plpks.c β€” go read it, bestie, it’s the source of truth. πŸ“š

the whole plpks friend group, fr fr:


xoxo, source/version ./arch/powerpc/platforms/pseries, dated October 2026 πŸ’… slay. πŸŽ€

πŸ“¦ where this page comes from