UAPI(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 QUERY command 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