FAILED: patch "[PATCH] irqchip/renesas-rzv2h: Prevent TINT spurious interrupt" failed to apply to 6.14-stable tree
Subsystems (2)
[email protected]
maintainerThe patch below does not apply to the 6.14-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.14.y
git checkout FETCH_HEAD
git cherry-pick -x 28e89cdac6482f3c980df3e2e245db7366269124
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2025042143-clash-grumbly-11dd@gregkh' --subject-prefix 'PATCH 6.14.y' HEAD^..
Possible dependencies:
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 28e89cdac6482f3c980df3e2e245db7366269124 Mon Sep 17 00:00:00 2001
From: Biju Das <[email protected]>
Date: Tue, 15 Apr 2025 11:33:41 +0100
Subject: [PATCH] irqchip/renesas-rzv2h: Prevent TINT spurious interrupt
A spurious TINT interrupt is seen during boot on RZ/G3E SMARC EVK.
A glitch in the edge detection circuit can cause a spurious interrupt.
Clear the status flag after setting the ICU_TSSRk registers, which is recommended in the hardware manual as a countermeasure.
drivers/irqchip/irq-renesas-rzv2h.c +8 -0
@@ -170,6 +170,14 @@ static void rzv2h_tint_irq_endisable(struct irq_data *d, bool enable)else tssr &= ~ICU_TSSR_TIEN (tssel_n, priv->info->field_width);writel_relaxed (tssr, priv->base + priv->info->t_offs +ICU_TSSR (k)); + +/* +* A glitch in the edge detection circuit can cause a spurious +* interrupt. Clear the status flag after setting the ICU_TSSRk +* registers, which is recommended by the hardware manual as a +* countermeasure. +*/ +writel_relaxed (BIT (tint_nr), priv->base + priv->info->t_offs +ICU_TSCLR ); }static void rzv2h_icu_irq_disable (struct irq_data *d)