scmi_raw_error_report(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 transfer
  • msg_hdr β€” the SCMI message header of the message to fetch and report
  • priv β€” 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 πŸ”₯

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