irq_chip_get_parent_state(9)
π irq_chip_get_parent_state β the manual page, but make it make sense π
okay so bestie, welcome to the Kernel API Manual entry for irq_chip_get_parent_state(9). yes it's a mouthful. yes it's iconic. let's get into it π«Ά
β¨ NAME β¨
irq_chip_get_parent_state β get the state of a parent interrupt. that's it. that's the whole job. very demure, very mindful π
πΈ SYNOPSIS πΈ
int irq_chip_get_parent_state (struct irq_data *data , enum
irqchip_irq_state which , bool *state );
literally the whole signature. do not come for me about the line break, that's how it's written, periodt. β¨
π ARGUMENTS π
dataβ pointer to interrupt specific data. yes it's a pointer. yes you have to pass it. no you can't skip it πwhichβ one ofIRQCHIP_STATE_*, i.e. whichever state the caller wants to know about. you pick which one, she tells you π¦stateβ a pointer to aboolwhere the state is to be stored. she needs somewhere to put the answer, so give her a real address bestie, not a vibe π
π DESCRIPTION π
okay so here's the whole plot: conditional success, if the underlying irqchip does not implement it.
that's the entire description. no notes. no extra lore. just conditional success and the caveat that it hinges on the underlying irqchip not implementing it. iykyk π
β SEE ALSO β
like genuinely the most friend-group-energy section on the page. the Kernel file ./kernel/irq/chip.c is where it all lives, and then these icons:
irq_set_chip(9), irq_set_irq_type(9), irq_set_handler_data(9), irq_set_msi_desc_off(9), irq_set_msi_desc(9), irq_set_chip_data(9), irq_disable(9), handle_nested_irq(9), handle_simple_irq(9), handle_untracked_irq(9), handle_level_irq(9), handle_fasteoi_irq(9), handle_fasteoi_nmi(9), handle_edge_irq(9), handle_percpu_irq(9), handle_percpu_devid_irq(9), irq_cpu_online(9), irq_cpu_offline(9), handle_fasteoi_ack_irq(9), handle_fasteoi_mask_irq(9), irq_chip_set_parent_state(9), irq_chip_shutdown_parent(9), irq_chip_startup_parent(9), irq_chip_enable_parent(9), irq_chip_disable_parent(9), irq_chip_ack_parent(9), irq_chip_mask_parent(9), irq_chip_mask_ack_parent(9), irq_chip_unmask_parent(9), irq_chip_eoi_parent(9), irq_chip_set_affinity_parent(9), irq_chip_set_type_parent(9), irq_chip_retrigger_hierarchy(9), irq_chip_set_vcpu_affinity_parent(9), irq_chip_set_wake_parent(9), irq_chip_request_resources_parent(9), irq_chip_release_resources_parent(9), irq_chip_compose_msi_msg(9), irq_chip_pm_get(9), irq_chip_pm_put(9)
like, the whole squad showed up. obsessed π
lowkey reminder:whichis one ofIRQCHIP_STATE_*andstateis a pointer to a boolean β don't hand her a bool by value and expect magic, that's a vibe check you will fail π§
and that's the page, bestie!! mwah π this one comes to you courtesy of ./kernel/irq, dated October 2026 β go off, king ππ
π¦ 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