ipa_smp2p_notify(9)
β¨ ipa_smp2p_notify(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a tiny little function page from the kernel docs, and honestly? it's giving "small but crucial." no cap.
π NAME π
ipa_smp2p_notify β the function that uses SMP2P to tell the modem about the IPA power state. that's it, that's the whole job. iconic.
π SYNOPSIS π
void ipa_smp2p_notify(struct ipa_smp2p *smp2p);
one argument, returns nothing, zero drama. periodt.
π¦ ARGUMENTS π¦
smp2pβ the SMP2P information. that's literally the whole description, bestie, it's the SMP2P info struct. no extra lore, don't ask me for more π
πΈ DESCRIPTION πΈ
okay so here's the vibe check: this gets called in one of two situations π
- when the modem has requested it β which it does by triggering the modem power query IPA interrupt π₯
- whenever the AP is shutting down β via a panic notifier π
and what does it actually do while it's there? it sets the two SMP2P state bits:
- one says whether the IPA power is on β‘
- the other one indicates that the first bit is valid β
so it's basically a two-bit group chat message to the modem: "here's the power state, and yes, the power state is real." lowkey elegant, highkey doing its job π«Ά
π§ SEE ALSO π§
- Kernel file
./drivers/net/ipa/ipa_smp2p.cπ β the actual source, iykyk IPA SMP2P communication with the modem(9)struct ipa_smp2p(9)
hey bestie, quick reminder: this page is pulled straight from ./drivers/net/ipa, dated October 2026 π so if the kernel moves stuff around, don't come for me β go read the source fr fr β¨
stay slay, go read that .c file ππ
π¦ 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