STRUCT MSI_MSG(9)
π struct msi_msg(9) π
okay so bestie, welcome to the Kernel API Manual β we're looking at struct msi_msg today and honestly? it's giving "small but mighty." β¨
πΈ NAME πΈ
struct msi_msg β the representation of a MSI message π
π¦ SYNOPSIS π¦
struct msi_msg {
union {
u32 address_lo;
arch_msi_msg_addr_lo_t arch_addr_lo;
};
union {
u32 address_hi;
arch_msi_msg_addr_hi_t arch_addr_hi;
};
union {
u32 data;
arch_msi_msg_data_t arch_data;
};
};
look at her. three little unions, all anonymous, all iconic. π
π Members π
so like. each of these blocks is an {unnamed_union} and it's just anonymous. yes really. no name, no problem. she's mysterious like that. π
address_loβ the low 32 bits of the msi message address. the little half. πarch_addr_loβ the architecture specific shadow ofaddress_lo. same vibe, different arch, iykyk.{unnamed_union}β anonymous. again. mystery queen behavior.address_hiβ the high 32 bits of the msi message address β only used when the device supports it, so don't come for her if she's sitting there unused.arch_addr_hiβ the architecture specific shadow ofaddress_hi. matching set fr fr. π«Ά{unnamed_union}β anonymous. third time's the charm bestie.dataβ the MSI message data, usually 16 bits. tiny but she's doing the work.arch_dataβ the architecture specific shadow ofdata. the arch-specific twin, slaying in the background. π
ngl the whole struct is basically real value + arch-specific shadow Γ3, and that's the entire plot. no notes. π₯
π₯ SEE ALSO π₯
Kernel file ./include/linux/msi.h β and the whole friend group:
struct pci_msi_desc(9)union msi_domain_cookie(9)struct msi_desc_data(9)struct msi_desc(9)struct msi_dev_domain(9)msi_first_desc(9)msi_domain_for_each_desc(9)msi_for_each_desc(9)msi_msg_set_addr(9)msi_insert_msi_desc(9)msi_free_msi_descs_range(9)msi_free_msi_descs(9)struct msi_domain_ops(9)struct msi_domain_info(9)struct msi_domain_template(9)struct msi_parent_ops(9)
go read them, they all ate. πβ¨
and that's the whole page bestie!! mwah π«Ά this one lives in ./include/linux and the date on it is October 2026 β so like, she's from the future, main character energy fr. πβ bye babes!! π
π¦ 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