scmi_raw_error_report(9)
π scmi_raw_error_report (9) β the Kernel API Manual, bestie edition
okay so you found yourself in the scmi_raw_error_report man page and honestly? good for you. this is the kernel API manual, SCMI corner, and this lil function is the one that catches the mess π«Ά
β¨ NAME β¨
scmi_raw_error_report β a helper that reports back the replies that timed out or were just generally unexpected. it's giving "you good? no? okay noted" π
πΈ SYNOPSIS πΈ
void scmi_raw_error_report (void *r , struct scmi_chan_info *cinfo , u32
msg_hdr , void *priv );
π ARGUMENTS π
rβ an opaque reference to the raw instance configuration. opaque means don't peek, just pass it along bestie πcinfoβ a reference to the channel to use to retrieve the broken xfer. it's the one who's gonna go get the messy transfermsg_hdrβ the SCMI message header of the message to fetch and reportprivβ any private data related to the xfer
π¦ DESCRIPTION π¦
okay so if Raw mode is enabled, this gets called from the SCMI core on the RX path whenever errors happen β its whole job is to save and enqueue the bad message payload carried by the message that has just been received. like catching the bad vibes mid-air and putting them in a jar π«β¨
and here's the note, and it's important: we have to manually fetch any available payload into a temporary xfer to be able to save and enqueue the message. why? because the regular RX error path that had called this would not have fetched the message payload β it already classified the thing as an error. so no payload, no drama, just us doing it by hand π
π₯ 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_message_report(9)
that's a whole friend group right there, go say hi π
and that's the page!! this one lives in ./drivers/firmware/arm_scmi, dated October 2026 β go off, kernel era ππ
π¦ 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