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


Groups > linux.kernel > #1338288

[PATCH v3 1/7] irqchip/gic-v3: always return IRQ_SET_MASK_OK_DONE in gic_set_affinity

From Antoine Tenart <antoine.tenart@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v3 1/7] irqchip/gic-v3: always return IRQ_SET_MASK_OK_DONE in gic_set_affinity
Date 2016-02-19 16:30 +0100
Message-ID <r3Vai-71t-7@gated-at.bofh.it> (permalink)
References <r3Vai-71t-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Always return IRQ_SET_MASK_OK_DONE instead of IRQ_SET_MASK_OK when the
affinity has been updated. When using stacked irqchips, returning
IRQ_SET_MASK_OK_DONE means skipping all descendant irqchips.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
---
 drivers/irqchip/irq-gic-v3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c
index d7be6ddc34f6..ca120a99bd5a 100644
--- a/drivers/irqchip/irq-gic-v3.c
+++ b/drivers/irqchip/irq-gic-v3.c
@@ -634,7 +634,7 @@ static int gic_set_affinity(struct irq_data *d, const struct cpumask *mask_val,
 	else
 		gic_dist_wait_for_rwp();
 
-	return IRQ_SET_MASK_OK;
+	return IRQ_SET_MASK_OK_DONE;
 }
 #else
 #define gic_set_affinity	NULL
-- 
2.7.1

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/7] irqchip: introduce the Alpine MSIX driver Antoine Tenart <antoine.tenart@free-electrons.com> - 2016-02-19 16:30 +0100
  [PATCH v3 6/7] arm64: alpine: select the Alpine MSI controller driver Antoine Tenart <antoine.tenart@free-electrons.com> - 2016-02-19 16:30 +0100
  [PATCH v3 1/7] irqchip/gic-v3: always return IRQ_SET_MASK_OK_DONE in gic_set_affinity Antoine Tenart <antoine.tenart@free-electrons.com> - 2016-02-19 16:30 +0100
  [PATCH v3 3/7] Documentation: bindings: document the Alpine MSIX driver Antoine Tenart <antoine.tenart@free-electrons.com> - 2016-02-19 16:30 +0100
  [PATCH v3 7/7] arm: alpine: select the Alpine MSI controller driver Antoine Tenart <antoine.tenart@free-electrons.com> - 2016-02-19 16:30 +0100
  [PATCH v3 4/7] arm64: dts: alpine: add the MSIX node in the Alpine v2 dtsi Antoine Tenart <antoine.tenart@free-electrons.com> - 2016-02-19 16:30 +0100
  [PATCH v3 2/7] irqchip: add the Alpine MSIX interrupt controller Antoine Tenart <antoine.tenart@free-electrons.com> - 2016-02-19 16:30 +0100
  [PATCH v3 5/7] ARM: dts: alpine: add the MSIX node Antoine Tenart <antoine.tenart@free-electrons.com> - 2016-02-19 16:30 +0100
  Re: [PATCH v3 0/7] irqchip: introduce the Alpine MSIX driver Marc Zyngier <marc.zyngier@arm.com> - 2016-02-20 11:50 +0100

csiph-web