STRUCT SEV_TIO_STATUS(9)
π struct sev_tio_status (9) π
okay bestie, welcome to the Kernel API Manual, but make it cute π this one's all about the TIO_STATUS command and the info_paddr buffer it lives in. no cap, it's a glow-up of a struct and we're gonna walk through every single field together π«Ά
β¨ NAME β¨
struct sev_tio_status β literally the TIO_STATUS command's info_paddr buffer π
πΈ SYNOPSIS πΈ
here's the whole vibe, character for character, don't touch:
struct sev_tio_status {
u32 length;
u32 tio_en :1, tio_init_done :1, reserved :30;
u32 spdm_req_size_min;
u32 spdm_req_size_max;
u32 spdm_scratch_size_min;
u32 spdm_scratch_size_max;
u32 spdm_out_size_min;
u32 spdm_out_size_max;
u32 spdm_rsp_size_min;
u32 spdm_rsp_size_max;
u32 devctx_size;
u32 tdictx_size;
u32 tio_crypto_alg;
u8 reserved2[12];
};
likeβ¦ she's got range π bitfields, min/max pairs, a little reserved2[12] moment at the end. iconic.
π¦ Members π¦
time for the main characters, one by one π
lengthβ the length of this structure, in bytes. she's measuring herself, honestly relatable πͺtio_enβ indicates thatSNP_INIT_EXinitialized the RMP for SEV-TIO β¨tio_init_doneβ indicatesTIO_INIThas been invoked. so like, did the thing happen? this field knows πspdm_req_size_minβ minimum SPDM request buffer size, in bytes πspdm_req_size_maxβ maximum SPDM request buffer size, in bytes πspdm_scratch_size_minβ minimum SPDM scratch buffer size, in bytes π§spdm_scratch_size_maxβ maximum SPDM scratch buffer size, in bytes π§spdm_out_size_minβ minimum SPDM output buffer size, in bytes πspdm_out_size_maxβ maximum for the SPDM output buffer size, in bytes π (yes bestie, the original says "maximum for the SPDM output buffer size" and we respect the wording, fr fr)spdm_rsp_size_minβ minimum SPDM response buffer size, in bytes πspdm_rsp_size_maxβ maximum SPDM response buffer size, in bytes πdevctx_sizeβ size of a device context buffer, in bytes πtdictx_sizeβ size of a TDI context buffer, in bytes πtio_crypto_algβ the TIO crypto algorithms supported π₯
lowkey note:reservedandreserved2[12]are in the struct too β they're not described in Members, they're just there holding space. respect their privacy π
π SEE ALSO π
- Kernel file
./drivers/crypto/ccp/sev-dev-tio.hβ go read the source, iykyk π
okay that's the whole page, you ate that π
this little love letter comes to you from ./drivers/crypto/ccp, dated October 2026 β version vibes and date both present and accounted for, periodt ππ
π¦ 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