STRUCT INTEL_TPMI_PFS_ENTRY(9)
π 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 thePM_Featuresbase 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
- 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