pci_msi_map_rid_ctlr_node(9)
πΈ NAME πΈ
okay so this is pci_msi_map_rid_ctlr_node(9) from the Kernel API Manual β and bestie, itβs literally the function that gets the MSI controller fwnode_handle and the MSI requester id (RID). π
β¨
β¨ SYNOPSIS β¨
u32 pci_msi_map_rid_ctlr_node (struct irq_domain *domain , struct
pci_dev *pdev , struct fwnode_handle **node );
π ARGUMENTS π
domainβ the interrupt domain, aka the vibe zone for interrupts π¦pdevβ the PCI device, the main character here πnodeβ pointer to store the MSI controllerfwnode_handle; itβs where the result goes π
π¦ DESCRIPTION π¦
So hereβs the tea: use the firmware data to find the MSI controller fwnode_handle for pdev. If itβs found, map the RID and initialize node with it. π
Big warning bestie:nodevalue must be set toNULLon entry. Like, actually mandatory β no cap. ππ
β RETURN β
The RID. Thatβs it, thatβs the return value. β¨
π₯ SEE ALSO π₯
Kernel file ./drivers/pci/msi/irqdomain.c β plus these icons, iykyk:
pci_msi_domain_write_msg(9)pci_setup_msi_device_domain(9)pci_setup_msix_device_domain(9)pci_msi_domain_supports(9)pci_msi_domain_get_msi_rid(9)pci_msi_get_device_domain(9)
okay bye bestie π«Ά β source/version is ./drivers/pci/msi, date is October 2026, and yes this iconic page is still pci_msi_map_rid_ctlr_node(9) πβ¨
π¦ 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