STRUCT SVSM_VTPM_REQUEST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct svsm_vtpm_request(9) ✨

okok so we're in the Kernel API Manual bestie, and today's main character is struct svsm_vtpm_request β€” literally just the generic request for a single word command πŸŽ€


🌸 NAME 🌸

struct svsm_vtpm_request β€” the generic request for single word command, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct svsm_vtpm_request {
    u32 cmd;
 };

like, that's the whole thing. she's small. she's iconic. she contains multitudes (one multitude, actually) ✨


πŸŽ€ Members πŸŽ€

  • cmd β€” the command to send πŸ“¨ that's it, that's the job.

πŸ’– Description πŸ’–

so this whole struct is defined by the AMD SVSM spec [1], specifically in the section called "8.2 SVSM_VTPM_CMD Call" β€” Table 15: vTPM Common Request/Response Structure 🧚

here's the deets, laid out the way the spec lays 'em out:

  • Byte Offset 0x000
  • Size (Bytes) 4
  • In/Out In β†’ Platform command
  • In/Out Out β†’ Platform command response size

so like, same offset, same size, two directions β€” it's giving "one struct, two moods" 😭🫢


πŸ”₯ SEE ALSO πŸ”₯

like go read those too, they're the rest of the friend group πŸ‘‘βœ¨


ngl this one's short but she ate. go forth and send your single word command, bestie πŸ’œ

and that's the whole page!! brought to you by the fine people over at ./include/linux, dated October 2026 β€” mwah, see u in the next one πŸ“πŸ’«

πŸ“¦ where this page comes from