STRUCT SCMI_NOTIFY_INSTANCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct scmi_notify_instance(9) πŸ’–

okay so bestie, this is the Kernel API Manual page for struct scmi_notify_instance(9), and it’s giving β€œone notification-core instance per platform handle” energy. Let’s get into it πŸ’…


🌸 NAME 🌸

struct scmi_notify_instance β€” represents an instance of the notification core. That’s literally the whole name, and it ate.


✨ SYNOPSIS ✨

Here’s the exact struct, no cap β€” keep it character-for-character if you’re doing kernel things:

       struct scmi_notify_instance {
           void *gid;
           struct scmi_handle      *handle;
           struct work_struct      init_work;
           struct workqueue_struct *notify_wq;
           struct mutex            pending_mtx;
           unsigned long pending_events_handlers[1 << (( SCMI_PENDING_HASH_SZ)
       - 1)];
           struct scmi_registered_events_desc
       *registered_protocols[SCMI_MAX_PROTO];
        };

πŸ’… Members πŸ’…

Member-by-member vibe check, bestie ✨

  • gid β€” the GroupID used for devres 🫢
  • handle β€” a reference to the platform instance πŸ”₯
  • init_work β€” a work item to perform final initializations of pending handlers 🌸
  • notify_wq β€” a reference to the allocated Kernel cmwq πŸ’€
  • pending_mtx β€” a mutex to protect pending_events_handlers πŸ”’
  • pending_events_handlers β€” an hashtable containing all pending events’ handlers descriptors πŸ‘‘
  • registered_protocols β€” a statically allocated array containing pointers to all the registered protocol-level specific information related to events’ handling 🌈

🌟 Description 🌟

Each platform instance β€” the one represented by a handle β€” has its own instance of the notification subsystem, and this structure is literally that instance. Main character energy for every platform handle, fr fr πŸ’–


πŸŽ€ SEE ALSO πŸŽ€

Go read these too, bestie β€” the whole friend group:


πŸ’Œ sign-off time: source/version ./drivers/firmware/arm_scmi, date October 2026, page struct scmi_notify_instance(9) β€” bye bestie 🫢

πŸ“¦ where this page comes from