UAPI(9)
π UAPI
okay so bestie, listen up π β not every single command that the driver supports is gonna be available for userspace to use, like, at all times. That's just how it is, no cap.
So how do you deal? You've got two options, and honestly both slay:
- The iconic way: userspace can check the result of the
QUERYcommand to figure out the live set of commands that are actually available right now β¨ - The feral way: just issue the command and check for failure π literally vibe-check it by doing it, iykyk
β¨ SEE ALSO β¨
- Kernel file
./include/uapi/linux/cxl_mem.hπΈ struct cxl_command_info(9)struct cxl_mem_query_commands(9)struct cxl_send_command(9)
go read those bestie, they're lowkey essential π«Ά
k bye ily! π this lil masterpiece lives in ./include/uapi/linux, dropped October 2026, and yes it's still UAPI(9) β 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