Tag

IRQ Mapping

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Dec 4, 2024 · Fundamentals

Understanding Linux Interrupt Number Mapping Mechanism

This article explores the Linux kernel's interrupt management architecture, detailing how hardware interrupt IDs are mapped to software IRQ numbers through the irq_domain structure, GIC controller design, and various mapping strategies such as linear, radix‑tree, and no‑map approaches.

Device TreeGICIRQ Mapping
0 likes · 21 min read
Understanding Linux Interrupt Number Mapping Mechanism
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 20, 2022 · Fundamentals

Linux Kernel Interrupt Mapping: Hardware and Software IRQ Translation Process

The article explains how the Linux kernel translates ARM GIC hardware interrupt numbers into virtual software IRQs by maintaining a global bitmap, initializing the interrupt controller, using irq_domain structures to map and associate hwirq and virq values, and storing relationships in descriptor and revmap trees for efficient lookup.

Device TreeGICIRQ Mapping
0 likes · 10 min read
Linux Kernel Interrupt Mapping: Hardware and Software IRQ Translation Process