scmi_process_event_payload(9)
π scmi_process_event_payload(9) π
okay bestie, welcome to the Kernel API Manual β¨ this page is literally about scmi_process_event_payload, and the vibe is: dequeue and process an event payload. no cap, it's giving kernel event-processing main character energy π«Ά
π NAME π
scmi_process_event_payload β dequeue and process an event payload π
β¨ SYNOPSIS β¨
bool scmi_process_event_payload (struct events_queue *eq , struct
scmi_registered_events_desc *pd , struct scmi_registered_event *r_evt );
πΈ ARGUMENTS πΈ
eqβ the queue to use. this is the queue, bestie, respect her πpdβ the protocol descriptor to use π¦r_evtβ the registered event descriptor to use π
π¦ DESCRIPTION π¦
okay so here's what's happening: this function reads an event payload from the protocol queue into the dedicated scratch buffer, fills a custom report, and then look for matching event handlers and call them β¨ it skips any unknown event (as marked by scmi_process_event_header) and, in case an anomalously sized read is detected, it just flushes the queue. literally handling the event payload situation, periodt π
π RETURN π
False when the queue is empty. that's it, that's the return vibe π
π SEE ALSO π
go read these too, iykyk π:
Kernel file ./drivers/firmware/arm_scmi/notify.cTheory of operation(9)struct scmi_notify_instance(9)struct events_queue(9)struct scmi_event_header(9)struct scmi_registered_events_desc(9)struct scmi_registered_event(9)struct scmi_event_handler(9)scmi_lookup_and_call_event_chain(9)scmi_process_event_header(9)scmi_events_dispatcher(9)scmi_notify(9)scmi_kfifo_free(9)scmi_initialize_events_queue(9)scmi_allocate_registered_events_desc(9)scmi_register_protocol_events(9)scmi_deregister_protocol_events(9)scmi_allocate_event_handler(9)scmi_free_event_handler(9)scmi_bind_event_handler(9)scmi_valid_pending_handler(9)scmi_register_event_handler(9)__scmi_event_handler_get_ops(9)scmi_get_active_handler(9)__scmi_enable_evt(9)scmi_put_handler_unlocked(9)scmi_event_handler_enable_events(9)scmi_notifier_register(9)scmi_notifier_unregister(9)scmi_devm_notifier_register(9)scmi_devm_notifier_unregister(9)scmi_protocols_late_init(9)scmi_notification_init(9)scmi_notification_quiesce(9)scmi_notification_exit(9)
cute little sign-off: this one comes from ./drivers/firmware/arm_scmi, dated October 2026, and lives under the name scmi_process_event_payload(9) π bye bestie, go process those event payloads responsibly β¨
π¦ 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