STRUCT PERF_LEVEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME

okay so bestie, this is the struct perf_level(9) page from the Kernel API Manual, and the one-line summary is giving: struct perf_level β€” Used to store perf level and mmio offset. That's the whole assignment, periodt. It's a little struct with main character energy for holding a perf level and its mmio offset together.

✨ SYNOPSIS ✨

No cap, the struct is literally this:

struct perf_level {
    int mmio_offset;
    int level;
 };

πŸŽ€ Members πŸŽ€

  • mmio_offset β€” the mmio offset for a perf level. iconic.
  • level β€” the perf level for this offset. slay.

πŸ¦‹ Description πŸ¦‹

Okay so the tea is: this structure is used to store the final mmio offset of each perf level from the SST base mmio offset. It's giving "each perf level gets its final mmio offset, starting from the SST base mmio offset" β€” and that's the vibe. 🫢

🌈 SEE ALSO 🌈

The Kernel file is ./drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c, and these are the besties it runs with:

  • 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 pp_status_offset(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)

bestie, that's the page πŸ’… β€” brought to you by the Kernel API Manual, source ./drivers/platform/x86/intel/s..., dated October 2026, starring struct perf_level(9). mwah 🫢✨

πŸ“¦ where this page comes from