irqchip/loongson-eiointc: Route interrupt parsed from bios table
authorBibo Mao <maobibo@loongson.cn>
Mon, 4 Aug 2025 08:19:45 +0000 (16:19 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 24 Aug 2025 10:51:04 +0000 (12:51 +0200)
commit7fb83eb664e9b3a0438dd28859e9f0fd49d4c165
tree29fd8491eb1fcd1c29c7f8f698c05b5ceb16d793
parentadecf78df945f4c7a1d29111b0002827f487df51
irqchip/loongson-eiointc: Route interrupt parsed from bios table

Interrupt controller eiointc routes interrupts to CPU interface IP0 - IP7.

It is currently hard-coded that eiointc routes interrupts to the CPU
starting from IP1, but it should base that decision on the parent
interrupt, which is provided by ACPI or DTS.

Retrieve the parent's hardware interrupt number and store it in the
descriptor of the eointc instance, so that the routing function can utilize
it for the correct route settings.

[ tglx: Massaged change log ]

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250804081946.1456573-2-maobibo@loongson.cn
drivers/irqchip/irq-loongson-eiointc.c