cxl_internal_send_cmd(9)
okay so bestie, welcome to cxl_internal_send_cmd(9) π this page lives in the Kernel API Manual and she is literally the backstage pass for mailbox commands β no cap, she's the kernel-internal way to slide a command into the mailbox π
π NAME π
cxl_internal_send_cmd β kernel internal interface to send a mailbox command β¨
πΈ SYNOPSIS πΈ
int cxl_internal_send_cmd (struct cxl_mailbox *cxl_mbox , struct cxl_mbox_cmd *mbox_cmd );
π¦ ARGUMENTS π¦
cxl_mboxβ the CXL mailbox context, your main character π«Άmbox_cmdβ the initialized command you wanna execute, already dressed and ready π
β¨ CONTEXT β¨
Any context. like, genuinely any. she's flexible like that π
π₯ RETURN π₯
%>=0β number of bytes returned inoutπ-E2BIGβ payload is too large for the hardware π-EBUSYβ couldn't acquire exclusive mailbox access, someone else is in the group chat π-EFAULTβ a hardware error occurred π-ENXIOβ command completed, but the device reported an error π¬-EIOβ unexpected output size π«
π DESCRIPTION π
okay this is the part that matters, so listen up π
Mailbox commands may execute successfully yet the device itself reported an error. two different things!! and while this distinction can be useful for commands from userspace, the kernel will only be able to use results when both are successful. both. not one. both. periodt π§
π SEE ALSO π
- Kernel file
./drivers/cxl/core/mbox.ccxl mbox(9)cxl_payload_from_user_allowed(9)cxl_validate_cmd_from_user(9)handle_mailbox_cmd_from_user(9)cxl_walk_cel(9)cxl_enumerate_cmds(9)cxl_mem_get_event_records(9)cxl_mem_get_partition_info(9)cxl_dev_state_identify(9)cxl_mem_sanitize(9)
and that's the whole vibe check π¦ she lives over in ./drivers/cxl/core, dated October 2026, and she answers to cxl_internal_send_cmd(9) β go read her friends, iykyk π
π¦ 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