stratix10_svc_async_send(9)
π stratix10_svc_async_send(9) β the Kernel API Manual glow-up
okay bestie, gather round, because this one is from the Kernel API Manual and it's genuinely such a vibe. say hi to stratix10_svc_async_send πβ¨
π¦ NAME
stratix10_svc_async_send β send an asynchronous message to the SDM mailbox in EL3 secure firmware. that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS
int stratix10_svc_async_send (struct stratix10_svc_chan *chan , void
*msg , void **handler , async_callback_t cb , void *cb_arg );
like, look at that signature. main character energy fr fr π₯
π ARGUMENTS
chanβ pointer to the service channel structure. it's giving "your pass to the whole operation" πmsgβ pointer to the message to be sent. the actual payload, the moment, the whole point π«Άhandlerβ pointer to the handler object used by caller to track the transaction. yeah, you keep this so you can keep tabs on things later, iykyk πcbβ callback function to be called upon completion. the "when you're done, text me" function πcb_argβ argument to be passed to the callback function. the little note you tuck into the callback's pocket π
β¨ DESCRIPTION
so basically: this function sends a message asynchronously to the SDM mailbox in EL3 secure firmware. and (yes, there's an and) it registers a callback function to be invoked when the operation completes. so you fire off the message, you go live your life, and the callback hits you up when it's done. iconic behaviour, honestly π
not me being obsessed with async messaging π§
π RETURN
0 on success, and negative error codes on failure. that's the whole deal. zero means slay, negative means... yeah π
no cap: anything negative coming back means something went wrong, so check it before you keep going.
π SEE ALSO
the whole friend group, in order:
- Kernel file
./include/linux/firmware/intel/stratix10-svc-client.henumstratix10_svc_command_code(9) struct stratix10_svc_client_msg(9)struct stratix10_svc_command_config_type(9)struct stratix10_svc_cb_data(9)struct stratix10_svc_client(9)stratix10_svc_request_channel_byname(9)stratix10_svc_free_channel(9)stratix10_svc_allocate_memory(9)stratix10_svc_free_memory(9)stratix10_svc_send(9)stratix10_svc_done(9)async_callback_t(9)stratix10_svc_add_async_client(9)stratix10_svc_remove_async_client(9)stratix10_svc_async_poll(9)stratix10_svc_async_done(9)
and that's the page, bestie π she lives in ./include/linux/firmware/intel, and this little slice of the docs is dated October 2026 β so like, future vibes but make it kernel. bye, love u, read ur manpages πβ
π¦ 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