pci_setup_msi_device_domain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pci_setup_msi_device_domain(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this page is literally about pci_setup_msi_device_domain(9), and we're gonna make MSI interrupt domain setup make sense. no cap. 🫢


✨ NAME ✨

pci_setup_msi_device_domain β€” Setup a device MSI interrupt domain πŸ’–

🌸 SYNOPSIS 🌸

bool pci_setup_msi_device_domain (struct pci_dev *pdev , unsigned int
hwsize );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” the PCI device to create the domain on. main character device energy, periodt. πŸ’…
  • hwsize β€” the maximum number of MSI vectors. that's the cap, bestie. ✨

🫢 RETURN 🫢

vibe check time: it returns True when:

  • the device does not have a MSI parent irq domain associated, which keeps the legacy architecture specific and the global PCI/MSI domain models working πŸ‘‘
  • the MSI domain exists already
  • the MSI domain was successfully allocated

and it returns False when:

  • MSI-X is enabled
  • the domain creation fails. 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

the created MSI domain is preserved until:

  • the device is removed
  • MSI is disabled and a MSI-X domain is created

that's the whole lifespan tea, bestie β˜•βœ¨

🌈 SEE ALSO 🌈


mwah πŸ’‹ β€” source/version footer energy is ./drivers/pci/msi Β· October 2026 Β· pci_setup_msi_device_domain(9). stay slay, bestie! πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from