]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqchip/irq-vt8500: Use a dedicated chained handler function
authorAlexey Charkov <alchark@gmail.com>
Tue, 6 May 2025 12:46:17 +0000 (16:46 +0400)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 6 May 2025 13:58:26 +0000 (15:58 +0200)
commit49f92d3859cdd8534a1cd15037f950c483a5de40
tree8f6d57f9761e26a00f63ab9c574099d3bffc8425
parent54a1f3eb89ded8114b0bffc3696757cd95665ef9
irqchip/irq-vt8500: Use a dedicated chained handler function

Current code for the chained interrupt controller maps its interrupts on
the parent but doesn't register a separate chained handler, instead
needlessly calling enable_irq() on an unactivated parent interrupt, causing
a boot time WARN_ON from the common code.

The common handler meanwhile loops through all registered interrupt
controllers in an arbitrary order and tries to handle active interrupts
in each of them, which is fragile.

Use common infrastructure for handling chained interrupts instead.

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250506-vt8500-intc-updates-v2-4-a3a0606cf92d@gmail.com
drivers/irqchip/irq-vt8500.c