tpm_tis_clkrun_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this is tpm_tis_clkrun_enable(9) from the Kernel API Manual, and we're about to make the clkrun protocol behave for the entire duration of a single TPM command ✨ no cap, it's giving very specific kernel business.

✨ NAME ✨

tpm_tis_clkrun_enable β€” keep clkrun protocol disabled for the entire duration of a single TPM command πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

void tpm_tis_clkrun_enable (struct tpm_chip *chip , bool value );

πŸ’… ARGUMENTS πŸ’…

  • chip β€” the TPM chip to use 🫢
  • value β€” the switch that decides the CLKRUN protocol vibe:
    • 1 β€” disable CLKRUN protocol, so that clocks are free running ⚑
    • 0 β€” enable CLKRUN protocol 🌸
bestie, call this function directly in tpm_tis_remove in the error or driver removal path, since chip->ops is set to NULL in tpm_chip_unregister 😭 this part is important, fr fr.

πŸ” SEE ALSO πŸ”

  • Kernel file ./drivers/char/tpm/tpm_tis_core.c β€” go peek, iykyk πŸ‘‘

mwah πŸ’‹ this page is from the source/version ./drivers/char/tpm, dated October 2026 β€” tpm_tis_clkrun_enable(9) signing off, periodt πŸŽ€

πŸ“¦ where this page comes from