msi_bitmap_r...ve_dt_hwirqs(9)
π 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
- 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