STRUCT SMSM_HOST(9)
π 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β theregmapfor the outgoing interrupt. it's giving "here's the map, go find your register" πΊοΈβ¨ipc_offsetβ the offset inipc_regmapfor that outgoing interrupt. so like, where in the map we're looking π―ipc_bitβ the bit inipc_regmap+ipc_offsetfor 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:
struct qcom_smsm(9)struct smsm_entry(9)smsm_update_bits(9)smsm_intr(9)smsm_mask_irq(9)smsm_unmask_irq(9)smsm_set_irq_type(9)smsm_irq_map(9)smsm_parse_mbox(9)smsm_parse_ipc(9)smsm_inbound_entry(9)smsm_get_size_info(9)
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
- 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