scmi_raw_message_report(9)
π scmi_raw_message_report β a Kernel API Manual moment (yes, that's the manual, we're in it)
okay so bestie, welcome to scmi_raw_message_report(9) β the little helper whose whole entire job is reporting valid responses and notifications back to raw message requests. it's giving backstage pass energy fr fr π
β¨ NAME β¨
scmi_raw_message_report β the helper that reports valid responses/notifications back to raw message requests. that's it, that's the gig π«Ά
πΈ SYNOPSIS πΈ
void scmi_raw_message_report (void *r , struct scmi_xfer *xfer ,
unsigned int idx , unsigned int chan_id );
π¦ ARGUMENTS π¦
rβ an opaque reference to the raw instance configuration. opaque means don't peek, bestie, just pass it along πxferβ the xfer holding the message we're about to report. it's the star of the show β¨idxβ the index of the queue. which queue? that queue. the one at this index πchan_idβ the channel ID to use. gotta know which channel we're on, iykyk π‘
π DESCRIPTION π
okay so here's the vibe: if Raw mode is enabled, this function gets called from the SCMI core on the regular RX path, and its whole job is to save and enqueue the response/notification payload that this xfer is carrying into a dedicated scmi_raw_buffer for later consumption by the user. no cap, that's the whole plot π
and the way this slaps is that the caller can free the related xfer immediately afterwards β like, immediately immediately β and then the user can read back the raw message payload at its own pace (if ever) without holding an xfer for too long. main character energy for the user, honestly, they get to take their sweet time π
π₯ SEE ALSO π₯
- Kernel file
./drivers/firmware/arm_scmi/raw_mode.c Theory of operation(9)struct scmi_raw_queue(9)struct scmi_raw_mode_info(9)struct scmi_xfer_raw_waiter(9)struct scmi_raw_buffer(9)struct scmi_dbg_raw_data(9)scmi_xfer_raw_worker(9)scmi_xfer_raw_get_init(9)scmi_do_xfer_raw_start(9)scmi_raw_message_send(9)scmi_raw_message_receive(9)scmi_raw_mode_init(9)scmi_raw_mode_cleanup(9)scmi_raw_error_report(9)
lowkey a whole friend group of SEE ALSOs and they all ate π go read them, bestie, they're literally the lore
and that's the page!! mwah π this came from ./drivers/firmware/arm_scmi, dated October 2026 β so like, remember us when you're famous, k? bye bestie, slay your xfers π§π
π¦ 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