STRUCT FEATURE_OFFSET(9)
π¦ STRUCT FEATURE_OFFSET(9) β the Kernel API Manual era π¦
okay bestie, buckle up, because we're looking at struct feature_offset from the Kernel API Manual and honestly? she's small, she's packed, she's iconic β¨
πΈ NAME πΈ
struct feature_offset β literally just the offsets to SST-PP features, that's the whole vibe π
β¨ SYNOPSIS β¨
struct feature_offset {
u64 pp_offset :8;
u64 bf_offset :8;
u64 tf_offset :8;
u64 reserved :40;
};
look at her. four fields. not one wasted bit. main character energy fr fr π«Ά
π MEMBERS π
pp_offsetβ the qword offset within the PP level for theSST_PPregister bank πbf_offsetβ the qword offset within the PP level for theSST_BFregister bank πΈtf_offsetβ the qword offset within the PP level for theSST_TFregister bank π¦reservedβ reserved for future use π (she's just sitting there, holding space, being patient, we love her for it)
π DESCRIPTION π
so this structure is used to store offsets for SST features in the register bank. that's the whole job. no cap.
and the important part: it's packed to the same format as defined in the specifications β like, the layout is not vibes-based, it's spec-based, and you gotta respect that π₯
π SEE ALSO π
Kernel file:
./drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c
and the whole friend group of structs, all together, all slaying:
struct sst_header(9)struct cp_header(9)struct pp_header(9)struct levels_offset(9)struct pp_control_offset(9)struct pp_status_offset(9)struct perf_level(9)struct tpmi_per_power_domain_info(9)struct tpmi_sst_struct(9)struct tpmi_sst_common_struct(9)map_cdies(9)map_partition_power_domain_id(9)
go read all of them, iykyk π
lowkey a whole squad of TPMI/SST structs and they all point at each other. it's giving group chat. it's giving linked list of besties. obsessed π
and that's the page!! sourced from ./drivers/platform/x86/intel/s... and dated October 2026, signing off as your girl struct feature_offset(9) ππ§π 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