meson_sm_call_write(9)
π meson_sm_call_write(9) β send data to secure-monitor β¨
okay so bestie, this is meson_sm_call_write(9) from the Kernel API Manual, and it's literally your little gateway for sending data over to the secure-monitor. π«Ά It's giving "kernel firmware helper, but make it communicate." No cap.
πΈ NAME πΈ
meson_sm_call_write β send data to secure-monitor
β¨ SYNOPSIS β¨
int meson_sm_call_write (struct meson_sm_firmware *fw , void *buffer ,
unsigned int size , unsigned int cmd_index , u32 arg0 , u32 arg1 , u32
arg2 , u32 arg3 , u32 arg4 );
π§ ARGUMENTS π§
fwβ Pointer to secure-monitor firmware πbufferβ Buffer containing data to send πsizeβ Size of the data to send β¨cmd_indexβ Index of the SMC32 function ID π₯arg0β SMC32 Argument 0 πarg1β SMC32 Argument 1 π¦arg2β SMC32 Argument 2 πarg3β SMC32 Argument 3 πarg4β SMC32 Argument 4 π
π« RETURN π«
On success, you get the size of sent data back β that's the win. π On error? You get a negative value, bestie, so check that before you start celebrating. π
π SEE ALSO π
Kernel file: ./drivers/firmware/meson/meson_sm.c
This page is sourced from ./drivers/firmware/meson and stamped October 2026. Periodt, 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