Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1731890 > unrolled thread

[patch 06/52] genirq: Set managed shut down flag at init

Started byThomas Gleixner <tglx@linutronix.de>
First post2017-09-13 23:40 +0200
Last post2017-09-13 23:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [patch 06/52] genirq: Set managed shut down flag at init Thomas Gleixner <tglx@linutronix.de> - 2017-09-13 23:40 +0200

#1731890 — [patch 06/52] genirq: Set managed shut down flag at init

FromThomas Gleixner <tglx@linutronix.de>
Date2017-09-13 23:40 +0200
Subject[patch 06/52] genirq: Set managed shut down flag at init
Message-ID<upny2-4iM-13@gated-at.bofh.it>
Managed interrupts should start up in managed shutdown mode. Set the status
flag when initialising the irq descriptor.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 kernel/irq/irqdesc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/kernel/irq/irqdesc.c
===================================================================
--- a/kernel/irq/irqdesc.c
+++ b/kernel/irq/irqdesc.c
@@ -448,7 +448,7 @@ static int alloc_descs(unsigned int star
 		}
 	}
 
-	flags = affinity ? IRQD_AFFINITY_MANAGED : 0;
+	flags = affinity ? IRQD_AFFINITY_MANAGED | IRQD_MANAGED_SHUTDOWN : 0;
 	mask = NULL;
 
 	for (i = 0; i < cnt; i++) {

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web