]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/renesas-rzv2h: Prevent TINT spurious interrupt during resume
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 13 Jan 2026 12:53:11 +0000 (12:53 +0000)
committerThomas Gleixner <tglx@kernel.org>
Sun, 18 Jan 2026 09:55:34 +0000 (10:55 +0100)
commitcd4a3ced4d1cdb14ffe905657b98a91e9d239dfb
treeb18c1a1208bc264a73f02e6edbcb6ce48a6b8ed1
parentf2edf797dab185cce439e5bc5185fe20dd536300
irqchip/renesas-rzv2h: Prevent TINT spurious interrupt during resume

A glitch in the edge detection circuit can cause a spurious interrupt. The
hardware manual recommends clearing the status flag after setting the
ICU_TSSRk register as a countermeasure.

Currently, a spurious interrupt is generated on the resume path of s2idle
for the PMIC RTC TINT interrupt due to a glitch related to unnecessary
enabling/disabling of the TINT enable bit.

Fix this issue by not setting TSSR(TINT Source) and TITSR(TINT Detection
Method Selection) registers if the values are the same as those set
in these registers.

Fixes: 0d7605e75ac2 ("irqchip: Add RZ/V2H(P) Interrupt Control Unit (ICU) driver")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260113125315.359967-2-biju.das.jz@bp.renesas.com
drivers/irqchip/irq-renesas-rzv2h.c