]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/realtek-rtl: Service all pending interrupts
authorSander Vanheule <sander@svanheule.net>
Sun, 9 Jan 2022 14:54:34 +0000 (15:54 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 17 Jan 2022 12:16:26 +0000 (12:16 +0000)
commit03f2c5391c982639ae66e4341089d8bdf6af6eb6
tree0908dd2d0f6ebed55db3aed3b3555cde7de6e5c0
parentce8e4ab380d9192a6789f18808051eea69e059c2
irqchip/realtek-rtl: Service all pending interrupts

Instead of only servicing the lowest pending interrupt line, make sure
all pending SoC interrupts are serviced before exiting the chained
handler. This adds a small overhead if only one interrupt is pending,
but should prevent rapid re-triggering of the handler.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/5082ad3cb8b4eedf55075561b93eff6570299fe1.1641739718.git.sander@svanheule.net
drivers/irqchip/irq-realtek-rtl.c