irq_domain_pop_irq(9)
π irq_domain_pop_irq(9) β the kernel API manual, bestie edition π
Okay so picture this: you're deep in the kernel API manual (section 9, obviously), and you need to undo a hierarchy push. That's this function. It's giving cleanup era. Let's go. β¨
πΈ NAME πΈ
irq_domain_pop_irq β remove a domain from the top of a hierarchy, no cap.
π SYNOPSIS π
int irq_domain_pop_irq (struct irq_domain *domain , int virq );
π¦ ARGUMENTS π¦
domainβ the domain you're removing. Like, the one getting popped off the top. Bye bestie πvirqβ the irq you're removing the domain from. That's the one losing its top layer.
β¨ DESCRIPTION β¨
So this is literally the undo button for a call to irq_domain_push_irq. Push it, pop it, balance restored, the universe is healing. π
Important vibe check: you must call this either beforerequest_irqor afterfree_irq. Not in between, not mid-flight, not "whenever feels right." Timing is everything, iykyk. β°
π SEE ALSO π
Kernel file ./kernel/irq/irqdomain.c, plus the whole friend group:
__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_set_default_domain(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_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)
That's the whole page, bestie β short and sweet, main character energy fr fr. π«Ά
Signed off from ./kernel/irq, dated October 2026, and filed under irq_domain_pop_irq(9). Slay. πβ¨
π¦ 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