LKML Archive on
help / color / mirror / Atom feed
* [GIT pull] irq fix for 4.17
@ 2018-05-06  7:54 Thomas Gleixner
  0 siblings, 0 replies; only message in thread
From: Thomas Gleixner @ 2018-05-06  7:54 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, Ingo Molnar


please pull the latest irq-urgent-for-linus git tree from:

   git:// irq-urgent-for-linus

A single fix to prevent false positives in the spurious interrupt detector
when more than a single demultiplex register is evaluated in the Qualcom
irq combiner driver.



Agustin Vega-Frias (1):
      irqchip/qcom: Fix check for spurious interrupts

 drivers/irqchip/qcom-irq-combiner.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/irqchip/qcom-irq-combiner.c b/drivers/irqchip/qcom-irq-combiner.c
index f31265937439..7f0c0be322e0 100644
--- a/drivers/irqchip/qcom-irq-combiner.c
+++ b/drivers/irqchip/qcom-irq-combiner.c
@@ -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 irq_desc *desc)
 		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,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-06  7:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-06  7:54 [GIT pull] irq fix for 4.17 Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).