ENUM RISCV_IOMMU_IGS_SETTINGS(9)
π ENUM RISCV_IOMMU_IGS_SETTINGS π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil baby page but she's important, she's literally the enum riscv_iommu_igs_settings and she's here to tell you how the RISC-V IOMMU is allowed to generate interrupts. Interrupt Generation Support Settings, iykyk π
This is the interrupt-generation vibe check: the IOMMU can poke you with MSI, or with Wired-Signaled interrupts, or honestly both, or it can be the mysterious reserved one π
β¨ NAME β¨
enum riscv_iommu_igs_settings β Interrupt Generation Support Settings. that's the whole name, that's the whole job π«Ά
πΈ SYNOPSIS πΈ
enum riscv_iommu_igs_settings {
RISCV_IOMMU_CAPABILITIES_IGS_MSI ,
RISCV_IOMMU_CAPABILITIES_IGS_WSI ,
RISCV_IOMMU_CAPABILITIES_IGS_BOTH ,
RISCV_IOMMU_CAPABILITIES_IGS_RSRV
};
like, four members, all caps, all iconic π
π CONSTANTS π
so here's the lineup β one bullet per member, no skipping, that's the rule fr fr:
RISCV_IOMMU_CAPABILITIES_IGS_MSIβ the IOMMU supports only MSI generation. MSI girlies only, no WSI, periodt π«RISCV_IOMMU_CAPABILITIES_IGS_WSIβ the IOMMU supports only Wired-Signaled interrupt. wired-signaled supremacy, nothing else πRISCV_IOMMU_CAPABILITIES_IGS_BOTHβ the IOMMU supports both MSI and WSI generation. she's flexible, she's multi-talented, main character energy π₯RISCV_IOMMU_CAPABILITIES_IGS_RSRVβ Reserved for standard use. not for you, bestie, hands off π
π¦ SEE ALSO π¦
okay this is the friend group, they all live together:
- Kernel file
./drivers/iommu/riscv/iommu-bits.henum β that's where she lives, that's her house π riscv_iommu_ddtp_modes(9)enum riscv_iommu_hpmevent_id(9)struct riscv_iommu_dc(9)enum riscv_iommu_dc_iohgatp_modes(9)enum riscv_iommu_dc_fsc_atp_modes(9)struct riscv_iommu_pc(9)struct riscv_iommu_command(9)struct riscv_iommu_fq_record(9)enum riscv_iommu_fq_causes(9)enum riscv_iommu_fq_ttypes(9)struct riscv_iommu_pq_record(9)struct riscv_iommu_msipte(9)
ngl the RISC-V IOMMU corner of the kernel is a whole friend group and this enum is just one of them β go read the rest, they all link up π§
β¨ cute sign-off β¨
this gorgeous little page came out of ./drivers/iommu/riscv, dated October 2026, and the manual is the Kernel API Manual. slay, bye, go interrupt something ππΈ
π¦ 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