[PATCH v2] i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED
Andi Shyti
andi.shyti at kernel.org
Tue Jul 14 10:19:44 PDT 2026
Hi Pei,
On Fri, Jul 10, 2026 at 03:21:13PM +0800, Pei Xiao wrote:
> When the interrupt status register reads zero, the handler should
> return IRQ_NONE instead of IRQ_HANDLED. What the return value
> actually feeds into is the spurious interrupt accounting in
> note_interrupt(): falsely claiming IRQ_HANDLED defeats the "irq XX:
> nobody cared" detection, so a stuck interrupt source would never be
> caught.
>
> Fixes: 5ea558473fa3 ("i2c: spacemit: add support for SpacemiT K1 SoC")
> Signed-off-by: Pei Xiao <xiaopei01 at kylinos.cn>
merged to i2c/i2c-fixes.
Thanks,
Andi
More information about the linux-riscv
mailing list