rtas_physical_attestation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« rtas_physical_attestation(9) πŸ’«

ok so bestie, welcome to the Kernel API Manual β€” yes, that's the manual name, we're in the kernel API girlies now 🫢. Today's main character is rtas_physical_attestation, and she's literally just here to call ibm,physical-attestation and fill up a work area buffer. that's it. that's the vibe. ✨


🌸 NAME 🌸

rtas_physical_attestation β€” calls ibm,physical-attestation to fill a work area buffer πŸŽ€


✨ SYNOPSIS ✨

int rtas_physical_attestation (struct rtas_phy_attest_params *params );

one function, one pointer, zero drama. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • params β€” the whole personality of this call, tbh. see struct rtas_phy_attest_params for the details πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

okay so here's what she does: she calls ibm,physical-attestation over and over until it either errors out or successfully deposits data into the supplied work area. she's persistent, she's thorough, she ate. πŸ”₯

she also handles RTAS retry statuses for you (iconic) and maps RTAS error statuses to reasonable errno values (also iconic, honestly).

not me about to drop the important part though β€” the caller is expected to invoke rtas_physical_attestation multiple times to retrieve all the data for the provided attestation command. it's giving "one chip at a time" energy, fr fr. πŸ“

⚠️ and here's the caveat bestie, lowkey crucial: only one sequence should be in progress at any time. starting a new sequence will disrupt any sequence already in progress. serialization of attestation retrieval sequences is the responsibility of the caller. like, that's on you, not on her. no cap. πŸ’€

the caller should inspect params.status to determine whether more calls are needed to complete the sequence. that's your vibe check right there β€” read the status, bestie. πŸ‘€


🌈 CONTEXT 🌈

May sleep. 😴 (yes, she's allowed. she's got main character energy and a scheduler to respect.)


⭐ RETURN ⭐

  • -ve on error
  • 0 otherwise

simple. clean. slay. ✨


πŸ’œ SEE ALSO πŸ’œ

the whole friend group, honestly. go read them. iykyk 🧚


and that's the page!! πŸŽ€ brought to you by ./arch/powerpc/platforms/pseries, October 2026, Kernel API Manual β€” mwah, stay hydrated, and don't start two attestation sequences at once πŸ’…πŸ’–

πŸ“¦ where this page comes from