STRUCT MSI_ALLOC_INFO(9)
π struct msi_alloc_info(9) π
okay bestie, we're in the Kernel API Manual and this page is all about struct msi_alloc_info β the default structure for MSI interrupt allocation. it's giving "default shape for this job," and we're gonna read it together. no cap. β¨
β¨ NAME β¨
struct msi_alloc_info β Default structure for MSI interrupt allocation. π
π¦ SYNOPSIS π¦
here's the struct, copied exactly and living its best life in a code block:
struct msi_alloc_info {
struct msi_desc *desc;
irq_hw_number_t hwirq;
unsigned long flags;
union {
unsigned long ul;
void *ptr;
} scratchpad[NUM_MSI_ALLOC_SCRATCHPAD_REGS];
};
π«Ά Members π«Ά
descβ Pointer to msi descriptor. πhwirqβ Associated hw interrupt number in the domain. πΈscratchpadβ Storage for implementation specific scratch data. π
π Description π
so the tea is: architectures can provide their own implementation by not including asm-generic/msi.h into their arch specific header file. that's the whole move β no extra sauce from me, fr fr. π¦
π SEE ALSO π
go peek at the Kernel file ./include/asm-generic/msi.h β that's the reference this page points you to. π₯
kisses bestie! π this page's source/version is ./include/asm-generic, and the date on it is October 2026. mwah! π
π¦ 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