pci_setup_msi_device_domain(9)
π 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 π
- Kernel file
./drivers/pci/msi/irqdomain.c pci_msi_domain_write_msg(9)pci_setup_msix_device_domain(9)pci_msi_domain_supports(9)pci_msi_domain_get_msi_rid(9)pci_msi_map_rid_ctlr_node(9)pci_msi_get_device_domain(9)
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
- 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