msi_bitmap_r...ve_dt_hwirqs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

msi_bitmap_reserve_dt_hwirqs β€” bestie, this one reserves the irqs that are specified in the device tree ✨


πŸŽ€ SYNOPSIS πŸŽ€

int msi_bitmap_reserve_dt_hwirqs (struct msi_bitmap *bmp );

🌸 ARGUMENTS 🌸

  • bmp β€” a pointer to the MSI bitmap, aka the lil data structure we're about to poke at 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe πŸ‘‘: this function goes and looks in the device tree to see if there's a property specifying which irqs can be used for MSI. Like, it's checking the group chat to see who's actually invited πŸ’…

If it finds that property, then those irqs that are reserved in the device tree get reserved in the bitmap too. matching energy, no cap ✨

and the return values? iconic, honestly:

  • 0 β€” success, we ate πŸ“
  • < 0 β€” there was an error, it's giving 😭
  • > 0 β€” no property was found in the device tree at all, awkward πŸ’€
ngl bestie, that last one's the sneaky one β€” a positive return isn't a win, it's literally "couldn't find the thing." keep an eye on it πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./arch/powerpc/sysdev/msi_bitmap.c β€” the main character source file itself, go read it iykyk πŸ“–

and that's the whole page, bestie 🧚 this one's from ./arch/powerpc/sysdev, dated October 2026, and it covers msi_bitmap_r...ve_dt_hwirqs(9) β€” the Kernel API Manual said so, so it's fr fr πŸ’–πŸ’…

πŸ“¦ where this page comes from