PFRU_IOC_SET_REV(9)
π PFRU_IOC_SET_REV(9) β the Kernel API Manual, but make it make sense
okay bestie, welcome to the Kernel API Manual β¨ this little page is literally all about PFRU_IOC_SET_REV, and it's giving "tiny ioctl, very important job" energy. no cap, we're gonna get you comfy with it π«Ά
πΈ NAME πΈ
PFRU_IOC_SET_REV β which is, and I need you to see this exactly:
_IOW(PFRUT_IOCTL_MAGIC, 0x01, unsigned int)
like, that's the whole name section. iconic. it's the ioctl and its literal encoding, periodt π
π¦ SYNOPSIS π¦
PFRU_IOC_SET_REV
that's it, that's the synopsis. short and slay, no arguments listed here β¨
β RETURN β
okay so here's the vibe check on what you get back π
0β success π it worked, we love that for you-EFAULTβ fail to read the revision id π like, the read just did not happen-EINVALβ user provides an invalid revision id π bestie, that value is not it
fr fr, these are the exact three outcomes listed here. no guessing, no extra secret return codes, i'm not gonna invent lore π
π DESCRIPTION π
the whole point of this one is so simple it's giving main character: it Sets the Revision ID for Platform Firmware Runtime Update β¨π₯
that's the entire job. revision id go set. firmware runtime update business handled. periodt π
π SEE ALSO π
go look at the kernel file here, it's the source of truth bestie π
./include/uapi/linux/pfrut.h
and then we have the whole friend group of related ioctls and structs β all of these, exactly as listed, no skips β¨:
PFRU_IOC_STAGE(9)PFRU_IOC_ACTIVATE(9)PFRU_IOC_STAGE_ACTIVATE(9)PFRU_IOC_QUERY_CAP(9)struct pfru_payload_hdr(9)struct pfru_update_cap_info(9)struct pfru_com_buf_info(9)struct pfru_updated_result(9)struct pfrt_log_data_info(9)struct pfrt_log_info(9)PFRT_LOG_IOC_SET_INFO(9)PFRT_LOG_IOC_GET_INFO(9)PFRT_LOG_IOC_GET_DATA_INFO(9)
like, read the whole squad, iykyk π§π
aaaand that's the page π shoutout to Linux for the source/version, dated October 2026, living under ./include/uapi/linux β mwah, bye 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