STRUCT VMD_IRQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 β€” true if driver enabled IRQ. that's the vibe check right there β€” true means 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