Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c83d8ab1 authored by Marc Zyngier's avatar Marc Zyngier Committed by Alex Shi
Browse files

ARM: imx6: Allow GPC interrupts affinity to be changed



While converting the GPC code to a stacked irqchip, we lost the
possibility to change the CPU affinity of an interrupt routed
through the GPC.

This patch restore the expected behaviour by forwarding the
affinity setup to the underlying irqchip (GIC).

Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
(cherry picked from commit e33b67523f556aa7ddb09f1c7fa4de5c080670c9)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent b749ddf8
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -176,6 +176,9 @@ static struct irq_chip imx_gpc_chip = {
	.irq_unmask		= imx_gpc_irq_unmask,
	.irq_retrigger		= irq_chip_retrigger_hierarchy,
	.irq_set_wake		= imx_gpc_irq_set_wake,
#ifdef CONFIG_SMP
	.irq_set_affinity	= irq_chip_set_affinity_parent,
#endif
};

static int imx_gpc_domain_xlate(struct irq_domain *domain,