tpm1_do_selftest(9)
π NAME π
tpm1_do_selftest β okay bestie, this is the one that has the TPM continue its selftest and wait until it can receive further commands πβ¨
This page is from the Kernel API Manual, and we are absolutely in kernel API land, stay with me π«Ά
β¨ SYNOPSIS β¨
int tpm1_do_selftest (struct tpm_chip *chip );
π ARGUMENTS π
chipβ TPM chip to use. That's the chip bestie π§π
π DESCRIPTION π
The return vibe check is literally this: 0 on success πΈ, < 0 in case of fatal error π, or a value > 0 that represents a TPM error code π. Those are the outcomes, no cap.
π¦ SEE ALSO π¦
- Kernel file:
./drivers/char/tpm/tpm1-cmd.c tpm1_calc_ordinal_duration(9)tpm1_startup(9)tpm1_get_random(9)tpm1_continue_selftest(9)tpm1_auto_startup(9)tpm1_pm_suspend(9)tpm1_get_pcr_allocation(9)
Cute lil footer sign-off time: this page lives under ./drivers/char/tpm, it's dated October 2026, and the main character is tpm1_do_selftest(9) πβ¨π
π¦ 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