tpm1_continue_selftest(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« tpm1_continue_selftest(9) πŸ’«

okay so bestie, welcome to the tpm1_continue_selftest page in the Kernel API Manual β€” yes that's the manual name, yes it's giving "official business", and yes we're still gonna make it cute. this one's short and sweet, so let's lock in πŸ”’βœ¨


🌸 NAME 🌸

tpm1_continue_selftest β€” literally just run the TPM's selftest. that's the whole vibe. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

int tpm1_continue_selftest (struct tpm_chip *chip );

that's it. one function, one argument, no cap.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • chip β€” the TPM chip you wanna use, bestie. hand it over and let it cook. 🫢

✨ DESCRIPTION ✨

so here's the tea β˜• β€” this function runs the TPM's selftest, and it tells you how it went through its return value:

  • returns 0 on success β€” slay, we ate πŸ“
  • returns something < 0 in case of a fatal error β€” not the vibe, lowkey a red flag πŸ’€
  • returns a value > 0 representing a TPM error code β€” so like, the TPM itself is having a moment and it's telling you about it πŸ™ˆ
fr fr, watch those three cases β€” 0, < 0, and > 0 all mean different things and you don't wanna mix them up.

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/char/tpm/tpm1-cmd.c, and the whole friend group:


🌺 and that's the page!! source/version lives at ./drivers/char/tpm and the date on this icon is October 2026 β€” mwah, bye bestie, go run some selftests πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from