psp_check_tee_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

psp_check_tee_status β€” the lil function that checks whether there's a TEE a driver can actually talk to 🫢

So like, in the Kernel API Manual (yes that's the manual we're in rn bestie, stay with me), this is the vibe check for your TEE situation.


✨ SYNOPSIS ✨

int psp_check_tee_status (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. none. zero. nada. it takes nothing and it wants nothing, queen behavior honestly πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• β€” this function can be used by the AMD-TEE driver to query if there is a TEE with which it can communicate.

that's it. that's the whole job. it's giving "am i talking to anyone rn or am i talking to a wall" energy and honestly relatable πŸ˜­πŸ’…

πŸ”₯ RETURN πŸ”₯

  • 0 β€” the device has TEE. slay, you're in business ✨
  • -ENODEV β€” there is no TEE available. heartbreaking, devastating, nobody speak to me πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/psp-tee.h β€” go read it, iykyk πŸ“–
  • enum tee_cmd_id(9)
  • psp_tee_process_cmd(9)

ok bestie real talk β€” if you're poking around here you probably want the other two functions in SEE ALSO too. just saying. linking is caring 🫢

and that's the whole page fr fr πŸ’œ big thanks to the source over at ./include/linux, dated October 2026 β€” mwah, ily, go check your TEE status responsibly πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from