SBRMI_IOCTL_CPUID_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ SBRMI_IOCTL_CPUID_CMD ✨

okay so bestie, you’ve landed on the SBRMI_IOCTL_CPUID_CMD page in the Kernel API Manual β€” section 9, iykyk πŸ’…. This is the manual name folded in right at the top, and we’re about to make these APML ioctl vibes make sense. πŸ¦‹

🌸 Parameters 🌸

  • struct apml_cpuid_msg β€” a pointer to the struct apml_cpuid_msg that will contain the protocol information. 🫢

πŸ’– Description πŸ’–

okay so the main character here is the IOCTL command for APML messages using generic _IOWR. ✨ The IOCTL provides userspace access to the AMD sideband cpuid protocol, no cap. πŸ‘‘

  • CPUID protocol β€” to get CPU details for Function/Ext Function at thread level. 🌈
  • returning "-EFAULT" if none of the above "-EPROTOTYPE" error is returned to provide additional error details. 😭

🫢 SEE ALSO 🫢

Kernel file: ./include/uapi/misc/amd-apml.h

xoxo from SBRMI_IOCTL_CPUID_CMD(9), sourced at ./include/uapi/misc, dated October 2026 β€” catch you in the kernel, bestie πŸ’…πŸ’–

πŸ“¦ where this page comes from