irq_set_default_domain(9)
β¨ irq_set_default_domain β¨
Hey bestie! πΈ So this is a page from the Kernel API Manual, and it's all about irq_set_default_domain β like, the function that sets your go-to, fallback irq domain. Serving main character energy for your interrupt mappings, periodt. Let's get into it. π
π NAME π
irq_set_default_domain β Set a "default" irq domain
π¦ SYNOPSIS π¦
void irq_set_default_domain (struct irq_domain *domain );
π ARGUMENTS π
domainβ the default domain pointer. Yep, that's it. That's the whole vibe. π«Ά
π DESCRIPTION π
Okay so, for convenience β and honestly, who doesn't love convenience β it's totally possible to set a "default" domain. And the way that works is: whenever NULL is passed to irq_create_mapping, this default domain is the one that gets used. π
It makes life easier for platforms that want to manipulate a few hard coded interrupt numbers that aren't properly represented in the device-tree. Lowkey iconic of them. No cap. πβ¨
It's giving "fallback bestie" β you don't call them every time, but when you pass NULL, they show up. ππ
πΈ SEE ALSO πΈ
Okay bestie, buckle up, because the squad is LONG and they all ate. π
π₯ Here's the whole guest list, from the Kernel file ./kernel/irq/irqdomain.c:
__irq_domain_alloc_fwnode(9)irq_domain_free_fwnode(9)irq_domain_instantiate(9)irq_domain_remove(9)irq_domain_create_simple(9)irq_find_matching_fwspec(9)irq_get_default_domain(9)irq_create_direct_mapping(9)irq_create_mapping_affinity(9)irq_dispose_mapping(9)__irq_resolve_mapping(9)irq_domain_xlate_onecell(9)irq_domain_xlate_twocell(9)irq_domain_xlate_twothreecell(9)irq_domain_xlate_onetwocell(9)irq_domain_translate_onecell(9)irq_domain_translate_twocell(9)irq_domain_translate_twothreecell(9)irq_domain_reset_irq_data(9)irq_domain_disconnect_hierarchy(9)irq_domain_get_irq_data(9)irq_domain_set_hwirq_and_chip(9)irq_domain_set_info(9)irq_domain_free_irqs_common(9)irq_domain_free_irqs_top(9)__irq_domain_alloc_irqs(9)irq_domain_push_irq(9)irq_domain_pop_irq(9)irq_domain_free_irqs(9)irq_domain_alloc_irqs_parent(9)irq_domain_free_irqs_parent(9)irq_domain_activate_irq(9)irq_domain_deactivate_irq(9)
Literally the whole friend group showed up. Obsessed. ππ
And that's the page, bestie! Signing off from the ./kernel/irq directory β this edition dropped in October 2026, so you know it's fresh. ποΈβ¨ Stay hydrated, keep your domains default, and slay those interrupts. π§ππ
π¦ 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