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)
commit960dd884ddf5621ae6284cd3a42724500a97ae4c
tree0908dd2d0f6ebed55db3aed3b3555cde7de6e5c0
parent91351b5dd0fd494eb2d85e1bb6aca77b067447e0
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