STRUCT PCI_TDI(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct pci_tdi(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a struct page, and it's literally the Core TEE I/O Device Interface (TDI) context β€” the whole vibe of a TDI in one little bundle. no cap, it's tiny but it matters πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole shape of it, exactly as it lives, don't touch a character:

struct pci_tdi {
    struct pci_dev *pdev;
    struct kvm *kvm;
    u32 tdi_id;
 };

three members, that's it, she's lowkey minimal and we love that for her πŸ¦‹


πŸŽ€ Members πŸŽ€

  • pdev β€” the host side representation of the guest-side TDI. think of it as the home-team version of the thing your guest is looking at πŸ‘‘
  • kvm β€” the TEE VM context of the bound TDI. it's the VM situation this TDI is hitched to πŸ’œ
  • tdi_id β€” the identifier, a virtual BDF, for the TDI exactly as it's referenced by the TSM and the DSM. that's your name-tag in the group chat 🌈

πŸ’… SEE ALSO πŸ’…

go read the neighbors, they're all friends, fr fr:

  • Kernel file ./include/linux/pci-tsm.h
  • struct pci_tsm(9)
  • struct pci_tsm_pf0(9)
  • enum pci_tsm_req_scope(9)
ngl, if you're poking at this struct you absolutely want the pci-tsm.h crew in your tabs. iykyk 🫢

and that's the whole page, bestie β€” no notes, she ate πŸ’…βœ¨ this one lives over in ./include/linux, dated October 2026, and it's your girl signing off from the Kernel API Manual πŸ§šπŸ’–πŸŒΈ

πŸ“¦ where this page comes from