STRUCT PP_STATUS_OFFSET(9)
π struct pp_status_offset(9) π
okay bestie, so this is from the Kernel API Manual, and it's literally all about the offsets for SST PP status fields. iykyk π β¨
π NAME π
struct pp_status_offset β offsets for SST PP status fields, no cap π«Ά
β¨ SYNOPSIS β¨
struct pp_status_offset {
u64 sst_pp_level :3;
u64 sst_pp_lock :1;
u64 error_type :4;
u64 feature_state :8;
u64 reserved0 :16;
u64 feature_error_type : 24;
u64 reserved1 :8;
};
π MEMBERS π
sst_pp_levelβ returns the current SST-PP level, periodt β¨sst_pp_lockβ returns the lock bit setting ofperf_level_lockinpp_control_offsetβlike, it's giving security vibes πerror_typeβ returns the last error of a SST-PP level change request.0: no error,1: level change not allowed, others: reservedβso basically, if you see a1, bestie, it wasn't meant to be ππfeature_stateβ a bit mask that shows the enable(1)/disable(0) state of each feature of the current PP level. bit0= BF, bit1= TF, bit2-7reservedβliterally a vibe check for your features πreserved0β reserved for future use πͺ (saving a seat for later, fr fr)feature_error_typeβ returns the last error of a specific feature. threeerror_typebits per feature, i.e.ERROR_TYPE[2:0]for BF,ERROR_TYPE[5:3]for TF, etc.0x0: no error,0x1: the specific feature is not supported by the hardware,0x2-0x6: reserved,0x7: feature state change is not allowedβso many numbers but it's all about knowing what's up π₯reserved1β reserved for future use πͺ (another seat for another future friend)
π DESCRIPTION π
okay so this struct is literally used to store offsets of SST PP status in the register bank. and it's packed to the same format as defined in the specificationsβiconic behavior, honestly πββοΈβ¨
π₯ SEE ALSO π₯
kernel file:
./drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c
and the whole squad: struct sst_header(9), struct cp_header(9), struct pp_header(9), struct feature_offset(9), struct levels_offset(9), struct pp_control_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)
β from ./drivers/platform/x86/intel/s... (the source file) on October 2026, struct pp_status_offset(9). catch you later, bestie! π«ΆππΈ
π¦ 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