arch/xtensa/kernel/irq.c
Source file repositories/reference/linux-study-clean/arch/xtensa/kernel/irq.c
File Facts
- System
- Linux kernel
- Corpus path
arch/xtensa/kernel/irq.c- Extension
.c- Size
- 4749 bytes
- Lines
- 196
- Domain
- Architecture Layer
- Bucket
- arch/xtensa
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/seq_file.hlinux/interrupt.hlinux/irq.hlinux/kernel_stat.hlinux/irqchip.hlinux/irqchip/xtensa-mx.hlinux/irqchip/xtensa-pic.hlinux/irqdomain.hlinux/of.hasm/mxregs.hlinux/uaccess.hasm/platform.hasm/traps.h
Detected Declarations
function do_IRQfunction arch_show_interruptsfunction xtensa_irq_domain_xlatefunction xtensa_irq_mapfunction xtensa_map_ext_irqfunction xtensa_get_ext_irq_nofunction init_IRQfunction migrate_irqsfunction for_each_active_irq
Annotated Snippet
if (newcpu >= nr_cpu_ids) {
pr_info_ratelimited("IRQ%u no longer affine to CPU%u\n",
i, cpu);
irq_set_affinity(i, cpu_all_mask);
} else {
irq_set_affinity(i, mask);
}
}
}
#endif /* CONFIG_HOTPLUG_CPU */
Annotation
- Immediate include surface: `linux/module.h`, `linux/seq_file.h`, `linux/interrupt.h`, `linux/irq.h`, `linux/kernel_stat.h`, `linux/irqchip.h`, `linux/irqchip/xtensa-mx.h`, `linux/irqchip/xtensa-pic.h`.
- Detected declarations: `function do_IRQ`, `function arch_show_interrupts`, `function xtensa_irq_domain_xlate`, `function xtensa_irq_map`, `function xtensa_map_ext_irq`, `function xtensa_get_ext_irq_no`, `function init_IRQ`, `function migrate_irqs`, `function for_each_active_irq`.
- Atlas domain: Architecture Layer / arch/xtensa.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.