STRUCT ISST_IF_PLATFORM_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

struct isst_if_platform_info β€” literally just here to define platform information, bestie πŸ’…

So this little struct is the ✨vibe check✨ for your platform, and the manual for it lives in the Kernel API Manual. iykyk.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct isst_if_platform_info {
    __u16 api_version;
    __u16 driver_version;
    __u16 max_cmds_per_ioctl;
    __u8 mbox_supported;
    __u8 mmio_supported;
 };

Okay so that's the whole thing, no cap. Five fields, all business. πŸŽ€


πŸ’– Members πŸ’–

  • api_version β€” the version of the firmware document, like, the one this driver is actually able to communicate with. Fw matching matters, bestie 🫢
  • driver_version β€” the driver version. This one's giving helpful bestie energy because it helps the user send the right commands. And yes, even if the firmware is capable, the driver may not be ready yet β€” so don't come for the driver, she's doing her best 😭
  • max_cmds_per_ioctl β€” returns the maximum number of commands the driver will accept in a single ioctl. Read it, respect it, don't overload her πŸ’€
  • mbox_supported β€” support of the mail box interface. Slay if it's a yes ✨
  • mmio_supported β€” support of the mmio interface for core-power feature. Iconic little flag 🌈

🧚 Description 🧚

This struct is what's used to return the output of the IOCTL ISST_IF_GET_PLATFORM_INFO. And what does user space do with it? It gets the driver and firmware support info, plus the number of commands to send in a single IOCTL request. Literally everything you need to not fumble the ioctl πŸ”₯

Not me writing a whole struct just so you'd know how many commands you can pack into one ioctl request πŸ’€ Respect the limit fr fr.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/uapi/linux/isst_if.h and, like, the entire extended universe of sibling structs β€” she's got a big family, main character energy all around πŸ’œ:

  • struct isst_if_cpu_map(9)
  • struct isst_if_cpu_maps(9)
  • struct isst_if_io_reg(9)
  • struct isst_if_io_regs(9)
  • struct isst_if_mbox_cmd(9)
  • struct isst_if_mbox_cmds(9)
  • struct isst_if_msr_cmd(9)
  • struct isst_if_msr_cmds(9)
  • struct isst_core_power(9)
  • struct isst_clos_param(9)
  • struct isst_if_clos_assoc(9)
  • struct isst_if_clos_assoc_cmds(9)
  • struct isst_tpmi_instance_count(9)
  • struct isst_perf_level_info(9)
  • struct isst_perf_level_control(9)
  • struct isst_perf_feature_control(9)
  • struct isst_perf_level_data_info(9)
  • struct isst_perf_level_fabric_info(9)
  • struct isst_perf_level_cpu_mask(9)
  • struct isst_base_freq_info(9)
  • struct isst_turbo_freq_info(9)

Okay that's the whole page, bestie β€” go forth and ioctl responsibly πŸ’–βœ¨

Sign-off szn πŸŽ€: this one's from ./include/uapi/linux, dated October 2026, and the page title is struct isst_...latform_info(9) (yes the header truncates it, she's mysterious like that πŸ™ˆ). Bye bestie, love u, drink water πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from