]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/loongson-htvec: Fix initial interrupt clearing
authorHuacai Chen <chenhc@lemote.com>
Fri, 11 Sep 2020 10:26:18 +0000 (18:26 +0800)
committerMarc Zyngier <maz@kernel.org>
Sun, 13 Sep 2020 14:30:11 +0000 (15:30 +0100)
commit95f07b11bad4c9e16461ecef72aac495d14a8b9f
tree5bb41a0c115cc03155de5f3b05cc6018f2f80c2f
parent24f8725e1c5359238986022c4fa11812671a683d
irqchip/loongson-htvec: Fix initial interrupt clearing

In htvec_reset() only the first group of initial interrupts is cleared.
This sometimes causes spurious interrupts, so let's clear all groups.

While at it, fix the nearby comment that to match the reality of what
the driver does.

Fixes: 566851e54df1b6e2641c1da7 ("irqchip: Add Loongson HyperTransport Vector support")
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/1599819978-13999-2-git-send-email-chenhc@lemote.com
drivers/irqchip/irq-loongson-htvec.c