psp_check_tee_status(9)
π 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
- 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