pci_epc_raise_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pci_epc_raise_irq(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so picture this: you're deep in the kernel, you're in pci_epc_raise_irq, and you need to actually get the host's attention. That's the whole vibe of this page, from the Kernel API Manual fr fr ✨


🌸 NAME 🌸

pci_epc_raise_irq β€” interrupt the host system. that's it, that's the girl πŸ’…


✨ SYNOPSIS ✨

int pci_epc_raise_irq (struct pci_epc *epc , u8 func_no , u8 vfunc_no ,
unsigned int type , u16 interrupt_num );

she takes five args and returns an int, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • epc β€” the EPC device that has to interrupt the host. she's the main character here, everything happens through her πŸ‘‘
  • func_no β€” the physical endpoint function number inside the EPC device. like, the physical one. u8. not the vibe-y fake one 🌈
  • vfunc_no β€” the virtual endpoint function number, the one living inside the physical function. nesting doll energy πŸŽ€ it's a u8 too
  • type β€” you gotta specify which interrupt flavor you want: INTX, MSI or MSI-X. yes those are the three, pick one, be decisive πŸ’€
  • interrupt_num β€” the MSI or MSI-X interrupt number, and the range is literally (1-N). a u16. don't come at it with a 0, that's not the assignment πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

Invoke this to raise an INTX, MSI or MSI-X interrupt. that's the whole thing β€” you call it, the host gets interrupted, everybody claps ✨πŸ”₯ like honestly? iconic. short. effective. no notes.


🧚 SEE ALSO 🧚

the kernel file to go stare at is ./drivers/pci/endpoint/pci-epc-core.c β€” go read her, she's the source of truth πŸ“–πŸ’œ

and here's the whole friend group, alphabetically-ish adjacent, a whole squad of (9) pages:

all of them. yes all 33. i counted, bestie, don't worry πŸ’…βœ¨


heads up: interrupt_num only makes sense for the MSI and MSI-X types, and it's (1-N) β€” that range is doing the heavy lifting, so respect it 🫢

and that's the page! πŸŽ€ this little beauty lives in ./drivers/pci/endpoint and the version stamp on her says October 2026 β€” so mark your calendar, she's from the future fr fr β­πŸ’œ mwah, go interrupt something, love u bye πŸ’–πŸ¦‹

πŸ“¦ where this page comes from