STRUCT SMSM_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay bestie, welcome to the Kernel API Manual page for struct smsm_entry β€” it’s giving per-remote-processor entry context, and we’re gonna read it together like a very niche group chat. no cap, every field is coming with us. ✨

πŸ’– NAME πŸ’–

struct smsm_entry β€” per remote processor entry context. that’s literally the whole NAME section, and honestly? iconic. πŸ’…

✨ SYNOPSIS ✨

here’s the struct in all its literal glory β€” copy-paste energy, but make it kernel:

       struct smsm_entry {
           struct qcom_smsm *smsm;
           struct irq_domain *domain;
           unsigned long irq_enabled[BITS_TO_LONGS( 32)];
           unsigned long irq_rising[BITS_TO_LONGS( 32)];
           unsigned long irq_falling[BITS_TO_LONGS( 32)];
           unsigned long last_value;
           u32 *remote_state;
           u32 *subscription;
        };

🌸 Members 🌸

  • smsm β€” back-reference to driver context. lowkey the struct’s little link back home 🫢
  • domain β€” IRQ domain for this entry, if representing a remote system. highkey specific, and we love that πŸŽ€
  • irq_enabled β€” bitmap of which state bits IRQs are enabled. yes ma’am, bitmaps πŸ’…
  • irq_rising β€” bitmap tracking if rising bits should be propagated. rising bits stay booked and busy ✨
  • irq_falling β€” bitmap tracking if falling bits should be propagated. falling bits also have main character energy 😌
  • last_value β€” snapshot of state bits last time the interrupts where propagated. keeping that original β€œwhere” exactly, bestie 😭
  • remote_state β€” pointer to this entry's state bits. pointer era πŸ”₯
  • subscription β€” pointer to a row in the subscription matrix representing this entry. matrix row representation, periodt 🌈

πŸ‘€ SEE ALSO πŸ‘€

the whole squad is here, fr fr:


okay that’s the page, bestie 🫢 footer check: source/version ./drivers/soc/qcom, date October 2026, page struct smsm_entry(9) β€” literally iconic, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from