STRUCT FEATURE_OFFSET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 the SST_PP register bank πŸ’–
  • bf_offset β€” the qword offset within the PP level for the SST_BF register bank 🌸
  • tf_offset β€” the qword offset within the PP level for the SST_TF register 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