stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "genirq/msi: Fix broken debug output" has been added to the 4.4-stable tree
@ 2016-09-22 17:11 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-09-22 17:11 UTC (permalink / raw)
  To: tglx, gregkh, mingo; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    genirq/msi: Fix broken debug output

to the 4.4-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:
     genirq-msi-fix-broken-debug-output.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From 4364e1a29be16b2783c0bcbc263f61236af64281 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 4 Jul 2016 15:32:25 +0200
Subject: genirq/msi: Fix broken debug output

From: Thomas Gleixner <tglx@linutronix.de>

commit 4364e1a29be16b2783c0bcbc263f61236af64281 upstream.

virq is not required to be the same for all msi descs. Use the base irq number
from the desc in the debug printk.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 kernel/irq/msi.c |    1 +
 1 file changed, 1 insertion(+)

--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -298,6 +298,7 @@ int msi_domain_alloc_irqs(struct irq_dom
 		ops->msi_finish(&arg, 0);
 
 	for_each_msi_entry(desc, dev) {
+		virq = desc->irq;
 		if (desc->nvec_used == 1)
 			dev_dbg(dev, "irq %d for MSI\n", virq);
 		else


Patches currently in stable-queue which might be from tglx@linutronix.de are

queue-4.4/x86-amd-apply-erratum-665-on-machines-without-a-bios-fix.patch
queue-4.4/irqchip-atmel-aic-fix-potential-deadlock-in-xlate.patch
queue-4.4/genirq-msi-fix-broken-debug-output.patch
queue-4.4/genirq-provide-irq_gc_-lock_irqsave-unlock_irqrestore-helpers.patch
queue-4.4/sched-core-fix-a-race-between-try_to_wake_up-and-a-woken-up-task.patch

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

only message in thread, other threads:[~2016-09-22 17:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22 17:11 Patch "genirq/msi: Fix broken debug output" has been added to the 4.4-stable tree gregkh

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).