tpm1_continue_selftest(9)
π« 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
0on success β slay, we ate π - returns something
< 0in case of a fatal error β not the vibe, lowkey a red flag π - returns a value
> 0representing 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> 0all 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:
tpm1_calc_ordinal_duration(9)tpm1_startup(9)tpm1_get_random(9)tpm1_do_selftest(9)tpm1_auto_startup(9)tpm1_pm_suspend(9)tpm1_get_pcr_allocation(9)
πΊ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms