STRUCT VMD_IRQ(9)
π¦ struct vmd_irq(9) β the Kernel API Manual glow-up π¦
okay so bestie, welcome to the struct vmd_irq(9) page π
this lil cutie lives in the Kernel API Manual and honestly? it's giving backstage-pass energy. iykyk.
β¨ NAME β¨
struct vmd_irq β private data to map driver IRQ to the VMD shared vector π«Ά
like, it's the private little notebook that keeps track of which driver IRQ goes where on the VMD shared vector. no cap.
πΈ SYNOPSIS πΈ
struct vmd_irq {
struct list_head node;
struct vmd_irq_list *irq;
bool enabled;
unsigned int virq;
};
look at her. four fields. main character energy fr fr π
π Members π
nodeβ list item for parent traversal. it's literally the little handle that lets you walk up to the parent, lowkey essential π§irqβ back pointer to parent. yes bestie, she points back home πenabledβtrueif driver enabled IRQ. that's the vibe check right there βtruemeans the driver turned it on βvirqβ the virtual IRQ value provided to the requesting driver. this is the number the driver actually gets handed, iconic π
π Description π
so the whole point, bestie: every MSI/MSI-X IRQ requested for a device in a VMD domain will be mapped to a VMD IRQ using this structure. that's it, that's the tea β every single one, no skipping, no shortcuts β this struct is doing the mapping π₯
π¦ SEE ALSO π¦
- Kernel file
./drivers/pci/controller/vmd.c struct vmd_irq_list(9)
ok that's the whole page, go read vmd.c if you want the full lore πβ¨
mwah π this page came from ./drivers/pci/controller, dated October 2026, and it's officially titled struct vmd_irq(9) β 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