Patch "irqchip/qcom: Fix check for spurious interrupts" has been added to the 4.14-stable tree
Subsystems (2)
gregkh at linuxfoundation.org
AppliedThis is a note to let you know that I've just added the patch titled
irqchip/qcom: Fix check for spurious interrupts
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
irqchip-qcom-fix-check-for-spurious-interrupts.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
1bc2463cee92ef0e2034c813d5e511adeb58b5fdMon Sep 17 00:00:00 2001
From: Agustin Vega-Frias <[email protected]>
Date: Tue, 1 May 2018 10:14:50 -0400
Subject: irqchip/qcom: Fix check for spurious interrupts
From: Agustin Vega-Frias <[email protected]>
commit 1bc2463cee92ef0e2034c813d5e511adeb58b5fd upstream.
When the interrupts for a combiner span multiple registers it must be checked if any interrupts have been asserted on each register before checking for spurious interrupts.
Checking each register seperately leads to false positive warnings.
[ tglx: Massaged changelog ]
--- drivers/irqchip/qcom-irq-combiner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/irqchip/qcom-irq-combiner.c +2 -2
@@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and
@@ -68,7 +68,7 @@ static void combiner_handle_irq(struct i bit =readl_relaxed (combiner->regs[reg].addr); status = bit & combiner->regs[reg].enabled; -if (!status) +if (bit && !status) pr_warn_ratelimited("Unexpected IRQ on CPU%d: (%08x %08lx %p)\n", smp_processor_id(), bit, combiner->regs[reg].enabled,
Patches currently in stable-queue which might be from agustinv at codeaurora.org are
queue-4.14/irqchip-qcom-fix-check-for-spurious-interrupts.patch