STRUCT SMSM_HOST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the Kernel API Manual β€” today's main character is struct smsm_host, and it's literally the blueprint for representation of a remote host 🫢 like, this is how the kernel keeps a vibe check on a host that isn't, y'know, here πŸ¦‹


✨ SYNOPSIS ✨

struct smsm_host {
    struct regmap *ipc_regmap;
    int ipc_offset;
    int ipc_bit;
    struct mbox_chan *mbox_chan;
 };

no cap, that's the whole struct β€” four fields, all baddies, all doing their own little job πŸ’…


πŸŽ€ Members πŸŽ€

  • ipc_regmap β€” the regmap for the outgoing interrupt. it's giving "here's the map, go find your register" πŸ—ΊοΈβœ¨
  • ipc_offset β€” the offset in ipc_regmap for that outgoing interrupt. so like, where in the map we're looking 🎯
  • ipc_bit β€” the bit in ipc_regmap + ipc_offset for the outgoing interrupt. yep, it's offset plus bit, the iconic duo πŸ”₯
  • mbox_chan β€” the apcs ipc mailbox channel handle πŸ“¬πŸ’Œ that's the little pipe your messages slide through

🌸 SEE ALSO 🌸

Kernel file ./drivers/soc/qcom/smsm.c β€” go read it, it's lowkey the whole lore 🧚 and while you're there, say hi to the whole friend group:


fr fr read the whole squad, they all reference each other and it's a whole group chat πŸ˜­πŸ’€

anyway that's the page, bestie β€” sourced from ./drivers/soc/qcom, dated October 2026, and yeah it's struct smsm_host(9) all the way down. slay, you ate, periodt πŸ‘‘πŸ’–

πŸ“¦ where this page comes from