SBRMI_IOCTL_MCAMSR_CMD(9)
π SBRMI_IOCTL_MCAMSR_CMD π
okay bestie so this is a page from the Kernel API Manual β the SBRMI_IOCTL_MCAMSR_CMD(9) one, yes the whole title is a vibe, don't worry about it β¨
πΈ Parameters πΈ
struct apml_mcamsr_msgβ this is a pointer, and it points at thestruct apml_mcamsr_msgthat's gonna be holding all the protocol info. that's literally its whole job π«Ά
β¨ Description β¨
so this one's an IOCTL command for APML messages, and it uses the generic _IOWR. slay. what it does is give userspace access to the AMD sideband MCAMSR protocol β main character energy fr fr π
here's the breakdown:
- the MCAMSR protocol gets you the MCA bank details for a Function at thread level π§
- and it returns
"-EFAULT"if none of the above happens β and then a"-EPROTOTYPE"error gets returned too, so you get those extra error deets. iykyk π
π¦ SEE ALSO π¦
go look at the kernel file ./include/uapi/misc/amd-apml.h β and also these icons:
SBRMI_IOCTL_MBOX_CMD(9)SBRMI_IOCTL_CPUID_CMD(9)SBRMI_IOCTL_REG_XFER_CMD(9)SBTSI_IOCTL_REG_XFER_CMD(9)
okay that's the whole page, no cap π this one lives in ./include/uapi/misc, dated October 2026 β so yeah, from the future bestie, periodt πβπ
π¦ 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