arch_setup_msi_irq(9)
β arch_setup_msi_irq(9) β
okay so welcome to the Kernel API Manual, bestie β todayβs main character is arch_setup_msi_irq, and itβs literally the MSI IRQ setup era. πβ¨
π NAME π
arch_setup_msi_irq β setup MSI IRQs for a device. periodt. π
β¨ SYNOPSIS β¨
int arch_setup_msi_irq (struct pci_dev *dev , struct msi_desc *desc );
π ARGUMENTS π
devβ the device thatβs requesting MSI interrupts. main character energy fr πdescβ the MSI descriptor. the little receipt for the MSI situation π§Ύβ¨
π₯ DESCRIPTION π₯
So this routine gets called when a driver requests MSI interrupts instead of the legacy INT A-D, and itβs giving upgrade era. π It will allocate multiple interrupts for MSI devices that support them. no cap.
A device can override this by programming the MSI control bits [6:4] before calling pci_enable_msi. thatβs the little escape hatch, iykyk π¦
π RETURN π
0on success β slay β- non-
0on error β not slay, handle it π
π¦ SEE ALSO π¦
- Kernel file
./arch/mips/pci/msi-octeon.c arch_teardown_msi_irq(9)
mwah π this page is from ./arch/mips/pci, dated October 2026, and itβs filed under arch_setup_msi_irq(9) β bye 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