ipa_smp2p_notify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ‘‘

  1. when the modem has requested it β€” which it does by triggering the modem power query IPA interrupt πŸ”₯
  2. 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