]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 7 Mar 2022 10:41:57 +0000 (11:41 +0100)
commit7c38f2bd5b96389d8304aadbac9e9d0e6292fd1a
tree327d68f15e17ce488766fc3ea6ecfb7e2acf6b56
parent156aa102b5a092e7774ca1d4483292afb368781a
irqchip/realtek-rtl: Service all pending interrupts

BugLink: https://bugs.launchpad.net/bugs/1963889
[ Upstream commit 960dd884ddf5621ae6284cd3a42724500a97ae4c ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/irqchip/irq-realtek-rtl.c