psp_tee_process_cmd(9)
π NAME π
Okay so welcome to the psp_tee_process_cmd(9) page in the Kernel API Manual, bestie. This one is all about psp_tee_process_cmd β process command in Trusted Execution Environment, aka TEE. π
β¨ SYNOPSIS β¨
int psp_tee_process_cmd (enum tee_cmd_id cmd_id , void *buf , size_t len
, u32 *status );
π«Ά ARGUMENTS π«Ά
cmd_idβ the TEE command ID, typed asenum tee_cmd_id. This is the command you're sending in. πbufβ command buffer for TEE processing. On success, it gets updated with the response. So yeah, it comes back changed β main character energy. β¨lenβ length of the command buffer in bytes. Gotta know how much buffer we're working with. πstatusβ on success, this holds the TEE command execution status. It's giving "receipts from the TEE." π§Ύ
πΈ DESCRIPTION πΈ
So this function submits a command to the Trusted OS for processing in the TEE environment, then it waits for a response or until the command times out. That's the whole vibe: send the command, wait for the answer, or hit the timeout. β³
π₯ RETURN π₯
Return values, bestie β memorize these:
0β TEE successfully processed the command. Slay. β-ENODEVβ PSP device not available. Not the moment. π-EINVALβ invalid input. Check yourself before you wreck yourself. π-ETIMEDOUTβ TEE command timed out. It literally took too long. π-EBUSYβ PSP device is not responsive. It's not answering the group chat. π΅
π¦ SEE ALSO π¦
- Kernel file
./include/linux/psp-tee.h enum tee_cmd_id(9)psp_check_tee_status(9)
πΈ source/version: ./include/linux Β· date: October 2026 Β· page: psp_tee_process_cmd(9) β that's the whole page, bestie, go forth and slay. π
π¦ 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