pci_msi_domain_get_msi_rid(9)
β¨ pci_msi_domain_get_msi_rid π
okay so bestie, welcome to the Kernel API Manual β we're looking at pci_msi_domain_get_msi_rid(9) today and honestly? it's a little legend. the whole vibe is: Get the MSI requester id (RID) π
πΈ SYNOPSIS πΈ
u32 pci_msi_domain_get_msi_rid (struct irq_domain *domain , struct
pci_dev *pdev );
like, that's the whole signature. no cap. π«Ά
π¦ ARGUMENTS π¦
domainβ the interrupt domain, aka the whole little ecosystem we're poking at π«pdevβ the PCI device. the actual device. the main character of this story π
π DESCRIPTION π
so here's the tea: the RID for a device? it gets formed from the alias, with a firmware supplied mapping applied on top. that's it, that's the whole glow-up. β¨
ngl the "firmware supplied mapping" part is doing a lot of heavy lifting here β it's the glow-up layer on top of the alias, iykyk π§
π RETURN π
it returns the RID. that's the answer. the RID. π
like literally, u32, the RID, done, periodt.
β SEE ALSO β
the kernel file lives at ./drivers/pci/msi/irqdomain.c and here's the whole friend group you should also go say hi to:
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_map_rid_ctlr_node(9)pci_msi_get_device_domain(9)
okay that's the whole page bestie, go get that RID π₯
mwah π β this lil page lives in ./drivers/pci/msi, dropped October 2026, straight from the Kernel API Manual, and yes it's still called pci_msi_domain_get_msi_rid(9) at the bottom too, iconic of it honestly π
π¦ 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