STRUCT INTEL_TPMI_PFS_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct intel_tpmi_pfs_entry ✨

okay so bestie, welcome to the Kernel API Manual 🫢 β€” this page is literally all about struct intel_tpmi_pfs_entry, and no cap, it's giving "tiny struct, big responsibilities" energy.


🌸 NAME 🌸

struct intel_tpmi_pfs_entry β€” TPMI PM Feature Structure (PFS) entry πŸ’–


✨ SYNOPSIS ✨

like, here's the whole vibe:

struct intel_tpmi_pfs_entry {
    u64 tpmi_id:8;
    u64 num_entries:8;
    u64 entry_size:16;
    u64 cap_offset:16;
    u64 attribute:2;
    u64 reserved:14;
 };

periodt. that's the struct. look at those bitfields, they're so cute πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • tpmi_id β€” the TPMI feature identifier, aka what the feature is and its data format. it's literally the feature's whole personality πŸ’…
  • num_entries β€” how many feature interface instances are present in the PFS. this represents the maximum number of Power domains in the SoC. slay, power domains πŸ’–
  • entry_size β€” the interface instance entry size, measured in 32-bit words. yes, words, not bytes, read it and weep 😭
  • cap_offset β€” the offset from the PM_Features base address to the base of the PM VSEC register bank, in KB. cute little hop from one place to another 🧚
  • attribute β€” the feature attribute: 0=BIOS. 1=OS. 2-3=Reserved. that's it, that's the whole enum, no notes πŸ™ˆ
  • reserved β€” bits for use in the future. they're just sitting there, main character energy, waiting for their moment ⭐

🌈 Description 🌈

So this struct represents one TPMI feature entry data in the PFS, retrieved as is from the hardware. like, no filtering, no glow-up, just straight from the silicon to you πŸ’€βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/platform/x86/intel/vsec_tpmi.c:

  • struct intel_tpmi_pm_feature(9)
  • struct intel_tpmi_info(9)
  • struct tpmi_info_header(9)
  • struct tpmi_feature_state(9)

go read those too, bestie, iykyk πŸ”₯


ok that's the whole page πŸ’œ everything from the original is in here, nothing invented, nothing dropped β€” vibe check passed with flying colors 🌸

and finally, the little sign-off: this iconic piece of documentation lives in ./drivers/platform/x86/intel, dated October 2026, and it's filed under struct intel_tpmi_pfs_entry(9). bye bestie, drink some water and go read your kernel source πŸ“πŸ’–

πŸ“¦ where this page comes from